Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9779/0.9779, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2711/0.2711, allocations: 34.85 MB / 296.6 MB, free: 392 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 326 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.867e-05, allocations: 2.312 kB / 326 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.008026/0.008045, allocations: 9.5 MB / 335.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006016/0.01406, allocations: 3.802 MB / 339.3 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.01498, allocations: 59.62 kB / 339.4 MB, free: 9.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.01641, allocations: 0.6798 MB / 340.1 MB, free: 8.898 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.01823, allocations: 0.9703 MB / 341.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.01905, allocations: 471 kB / 341.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.02142, allocations: 2.774 MB / 344.3 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.02255, allocations: 1.113 MB / 345.4 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.02488, allocations: 2 MB / 347.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.02643, allocations: 1.344 MB / 348.7 MB, free: 132 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004769/0.0269, allocations: 296 kB / 349 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007227/0.02763, allocations: 0.5384 MB / 349.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000622/0.02825, allocations: 1.04 MB / 350.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009417/0.02919, allocations: 0.9702 MB / 351.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.0312, allocations: 2.472 MB / 354.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.0312, allocations: 0 / 354.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.0312, allocations: 0 / 354.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.863e-05/0.03126, allocations: 0 / 354.1 MB, free: 10.8 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003234/0.03449, allocations: 2.964 MB / 357 MB, free: 7.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.03453, allocations: 12.02 kB / 357 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007055/0.03524, allocations: 424.6 kB / 357.4 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.03664, allocations: 1.209 MB / 358.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.234e-05/0.03672, allocations: 156.3 kB / 358.8 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.03693, allocations: 204.3 kB / 359 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.03858, allocations: 1.562 MB / 360.6 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.03862, allocations: 11.89 kB / 360.6 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.03874, allocations: 83.98 kB / 360.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.913e-05/0.03882, allocations: 95.92 kB / 360.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000919/0.03974, allocations: 0.5984 MB / 361.4 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005534/0.04527, allocations: 4.875 MB / 366.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/0.04627, allocations: 0.7033 MB / 366.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.04689, allocations: 484.9 kB / 367.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.04704, allocations: 48.97 kB / 367.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.04707, allocations: 47.5 kB / 367.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 2.655e-06/0.04707, allocations: 0 / 367.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.004776/0.05185, allocations: 2.778 MB / 370.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.05188, allocations: 64.72 kB / 370.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.053, allocations: 1.42 MB / 371.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.05306, allocations: 49.7 kB / 371.8 MB, free: 8.578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.05344, allocations: 0.8469 MB / 372.7 MB, free: 7.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.05369, allocations: 483.8 kB / 373.1 MB, free: 7.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.05394, allocations: 227.5 kB / 373.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.05404, allocations: 365.8 kB / 373.7 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.0543, allocations: 174.8 kB / 373.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.05465, allocations: 413.9 kB / 374.3 MB, free: 5.988 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.05538, allocations: 0.7148 MB / 375 MB, free: 5.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.05538, allocations: 4 kB / 375 MB, free: 5.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001529/0.05691, allocations: 1.059 MB / 376.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.05693, allocations: 8 kB / 376.1 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.05695, allocations: 4 kB / 376.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.05804, allocations: 0.5263 MB / 376.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.05857, allocations: 239.6 kB / 376.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.06271, allocations: 4.615 MB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/0.06328, allocations: 40 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.06335, allocations: 39.98 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004844/0.06384, allocations: 184.4 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.06409, allocations: 155.9 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.06539, allocations: 1.012 MB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.0654, allocations: 12 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.06541, allocations: 8 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.06542, allocations: 7.969 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.06849, allocations: 2.259 MB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.06849, allocations: 8.156 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.06894, allocations: 183.8 kB / 385.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008809/0.06982, allocations: 485.3 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.06988, allocations: 35.97 kB / 385.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.07331, allocations: 5.373 MB / 391.2 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.07331, allocations: 3.938 kB / 391.2 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.07496, allocations: 1.355 MB / 392.6 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.07533, allocations: 230.7 kB / 392.8 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.07546, allocations: 32 kB / 392.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.07581, allocations: 43.97 kB / 392.9 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.07598, allocations: 104.7 kB / 393 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.07604, allocations: 35.97 kB / 393 MB, free: 2.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005519/0.07659, allocations: 0.6752 MB / 393.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.07659, allocations: 0 / 393.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001164/0.07775, allocations: 0.4999 MB / 394.2 MB, free: 1.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.07886, allocations: 0.5337 MB / 394.7 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.08028, allocations: 1.17 MB / 395.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.163e-05/0.0803, allocations: 20.5 kB / 395.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008765/0.08118, allocations: 0.9158 MB / 396.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.08208, allocations: 391.5 kB / 397.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.08678, allocations: 4.037 MB / 401.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.08729, allocations: 0.5777 MB / 401.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005576/0.08784, allocations: 209.3 kB / 402 MB, free: 9.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.08846, allocations: 385 kB / 402.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.08846, allocations: 0 / 402.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of Templates: time 0.0372/0.1257, allocations: 28.56 MB / 431 MB, free: 12.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7153035872615874]