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.001308/0.001308, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009462/0.0009462, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9897/0.9897, allocations: 177 MB / 204.8 MB, free: 5.574 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.2777/0.2777, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 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.973e-06/1.973e-06, allocations: 0 / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.004e-05, allocations: 3.016 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01957/0.0196, allocations: 9.786 MB / 388.7 MB, free: 8.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006009/0.02561, allocations: 3.708 MB / 392.4 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.02702, allocations: 59.62 kB / 392.4 MB, free: 4.355 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.02853, allocations: 0.6675 MB / 393.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.03097, allocations: 0.9587 MB / 394.1 MB, free: 2.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.03197, allocations: 486.9 kB / 394.5 MB, free: 2.242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.03525, allocations: 2.762 MB / 397.3 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.03681, allocations: 1.077 MB / 398.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.03926, allocations: 1.785 MB / 400.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.04113, allocations: 1.403 MB / 401.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005706/0.0417, allocations: 304 kB / 401.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008837/0.04258, allocations: 0.5541 MB / 402.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007497/0.04333, allocations: 1.087 MB / 403.5 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.04434, allocations: 1.005 MB / 404.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.04693, allocations: 2.507 MB / 407 MB, free: 5.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.04693, allocations: 4 kB / 407 MB, free: 5.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04694, allocations: 0 / 407 MB, free: 5.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.118e-05/0.04698, allocations: 3.938 kB / 407 MB, free: 5.664 MB / 378.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.004302/0.05128, allocations: 3.36 MB / 410.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.05132, allocations: 8.031 kB / 410.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/0.05224, allocations: 0.5301 MB / 410.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.05409, allocations: 1.567 MB / 412.5 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/0.05419, allocations: 148.5 kB / 412.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.05441, allocations: 212.2 kB / 412.8 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.05677, allocations: 1.677 MB / 414.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.05681, allocations: 7.953 kB / 414.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.05693, allocations: 76 kB / 414.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/0.05702, allocations: 95.92 kB / 414.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.05845, allocations: 0.7647 MB / 415.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008482/0.06693, allocations: 6.717 MB / 422.2 MB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.06835, allocations: 0.7618 MB / 422.9 MB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008895/0.06924, allocations: 0.5665 MB / 423.5 MB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.06943, allocations: 56.95 kB / 423.6 MB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.06946, allocations: 50.39 kB / 423.6 MB, free: 4.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 4.389e-06/0.06947, allocations: 3.938 kB / 423.6 MB, free: 4.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.006393/0.07586, allocations: 3.685 MB / 427.3 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.07591, allocations: 68.72 kB / 427.4 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.07755, allocations: 1.655 MB / 429 MB, free: 15.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.07762, allocations: 49.64 kB / 429.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006428/0.07826, allocations: 1.251 MB / 430.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.07854, allocations: 483.9 kB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.07882, allocations: 249.2 kB / 431 MB, free: 13.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.07898, allocations: 0.5394 MB / 431.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.07939, allocations: 239.8 kB / 431.8 MB, free: 12.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.07996, allocations: 0.5898 MB / 432.4 MB, free: 11.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.08099, allocations: 0.9186 MB / 433.3 MB, free: 10.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.08099, allocations: 4 kB / 433.3 MB, free: 10.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002279/0.08327, allocations: 1.514 MB / 434.8 MB, free: 9.027 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.0833, allocations: 11.94 kB / 434.9 MB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.08331, allocations: 11.98 kB / 434.9 MB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.08469, allocations: 0.5681 MB / 435.4 MB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.08528, allocations: 263.6 kB / 435.7 MB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/0.09079, allocations: 6.451 MB / 442.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.0916, allocations: 83.94 kB / 442.2 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/0.09169, allocations: 51.98 kB / 442.3 MB, free: 1.348 MB / 410.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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005341/0.09223, allocations: 236.2 kB / 442.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.09254, allocations: 242.7 kB / 442.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1797/0.2722, allocations: 1.324 MB / 444.1 MB, free: 91.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/0.2722, allocations: 14.69 kB / 444.1 MB, free: 91.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.2723, allocations: 5.312 kB / 444.1 MB, free: 91.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.2723, allocations: 8.922 kB / 444.1 MB, free: 91.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005292/0.2776, allocations: 3.257 MB / 447.3 MB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.2776, allocations: 2.875 kB / 447.3 MB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.2781, allocations: 205.4 kB / 447.6 MB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.2792, allocations: 466.4 kB / 448 MB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/0.2793, allocations: 32.77 kB / 448 MB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00437/0.2836, allocations: 7.527 MB / 455.6 MB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2836, allocations: 6.312 kB / 455.6 MB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.2863, allocations: 1.805 MB / 457.4 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.2869, allocations: 342.1 kB / 457.7 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.287, allocations: 30.47 kB / 457.7 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.2875, allocations: 76 kB / 457.8 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.2877, allocations: 117.7 kB / 457.9 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.2878, allocations: 41.55 kB / 458 MB, free: 84.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.2889, allocations: 0.9868 MB / 459 MB, free: 84.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2889, allocations: 0 / 459 MB, free: 84.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001474/0.2904, allocations: 0.5235 MB / 459.5 MB, free: 84.37 MB / 410.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.001031/0.2914, allocations: 434.1 kB / 459.9 MB, free: 84.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.2936, allocations: 1.536 MB / 461.4 MB, free: 83.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2936, allocations: 3.375 kB / 461.4 MB, free: 83.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.2948, allocations: 1.207 MB / 462.6 MB, free: 83.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.2961, allocations: 415.9 kB / 463.1 MB, free: 83.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.3019, allocations: 4.284 MB / 467.3 MB, free: 81.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.3024, allocations: 0.6428 MB / 468 MB, free: 80.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008484/0.3033, allocations: 293.6 kB / 468.3 MB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.3035, allocations: 126.4 kB / 468.4 MB, free: 80.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.3035, allocations: 0 / 468.4 MB, free: 80.87 MB / 410.7 MB Notification: Performance of Templates: time 0.04274/0.3463, allocations: 29.76 MB / 498.2 MB, free: 73.49 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: 4.234428544063121]