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.001294/0.001294, allocations: 91.5 kB / 20.93 MB, free: 3.613 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.001015/0.001015, allocations: 156.5 kB / 24.23 MB, free: 328 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 1.075/1.075, allocations: 177 MB / 204.5 MB, free: 5.602 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.2762/0.2762, allocations: 34.86 MB / 295.8 MB, free: 0.582 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.483e-06/1.483e-06, allocations: 0 / 378.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.344e-05, allocations: 3.016 kB / 378.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01154/0.01156, allocations: 9.726 MB / 387.8 MB, free: 8.508 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.01614, allocations: 3.712 MB / 391.6 MB, free: 4.785 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005692/0.01671, allocations: 63.62 kB / 391.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.0179, allocations: 0.6596 MB / 392.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.01926, allocations: 0.9587 MB / 393.2 MB, free: 3.094 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.01995, allocations: 479 kB / 393.7 MB, free: 2.625 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.02226, allocations: 2.766 MB / 396.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.0233, allocations: 1.081 MB / 397.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.02492, allocations: 1.781 MB / 399.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.02637, allocations: 1.415 MB / 400.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003989/0.02677, allocations: 304 kB / 401 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006767/0.02745, allocations: 0.5463 MB / 401.6 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006487/0.0281, allocations: 1.087 MB / 402.7 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.02884, allocations: 1.009 MB / 403.7 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.0307, allocations: 2.511 MB / 406.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.0307, allocations: 0 / 406.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0307, allocations: 0 / 406.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.03073, allocations: 0 / 406.2 MB, free: 6.043 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.003286/0.03401, allocations: 3.356 MB / 409.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.03405, allocations: 12.03 kB / 409.6 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/0.03483, allocations: 0.5301 MB / 410.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.03671, allocations: 1.567 MB / 411.7 MB, free: 488 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.0368, allocations: 148.4 kB / 411.8 MB, free: 336 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.03701, allocations: 208.3 kB / 412 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.03917, allocations: 1.673 MB / 413.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.03921, allocations: 7.953 kB / 413.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.03934, allocations: 83.98 kB / 413.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-05/0.03942, allocations: 103.9 kB / 413.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.04077, allocations: 0.7647 MB / 414.6 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006699/0.04747, allocations: 6.717 MB / 421.4 MB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.0487, allocations: 0.7502 MB / 422.1 MB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/0.04952, allocations: 0.5859 MB / 422.7 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.04967, allocations: 48.97 kB / 422.7 MB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.0497, allocations: 46.39 kB / 422.8 MB, free: 5.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 2.415e-06/0.04971, allocations: 0 / 422.8 MB, free: 5.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.005787/0.05549, allocations: 3.687 MB / 426.5 MB, free: 1.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.05552, allocations: 64.72 kB / 426.5 MB, free: 1.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.0569, allocations: 1.659 MB / 428.2 MB, free: 15.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.05696, allocations: 45.7 kB / 428.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/0.05756, allocations: 1.255 MB / 429.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.0578, allocations: 479.9 kB / 430 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.05807, allocations: 253.1 kB / 430.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.05822, allocations: 0.5433 MB / 430.8 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.05862, allocations: 239.8 kB / 431 MB, free: 12.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.05917, allocations: 0.582 MB / 431.6 MB, free: 11.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.06064, allocations: 0.9303 MB / 432.5 MB, free: 10.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.06065, allocations: 7.938 kB / 432.5 MB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002068/0.06272, allocations: 1.503 MB / 434 MB, free: 9.406 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.06274, allocations: 11.94 kB / 434 MB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.06275, allocations: 8.25 kB / 434 MB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.064, allocations: 0.5836 MB / 434.6 MB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.06454, allocations: 259.6 kB / 434.9 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005397/0.06994, allocations: 6.439 MB / 441.3 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.07041, allocations: 83.91 kB / 441.4 MB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.07049, allocations: 51.98 kB / 441.4 MB, free: 1.73 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.0003467/0.07084, allocations: 240.2 kB / 441.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.07109, allocations: 246.7 kB / 441.9 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.167/0.2381, allocations: 1.327 MB / 443.2 MB, free: 97.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/0.2381, allocations: 13.72 kB / 443.3 MB, free: 97.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.2381, allocations: 5.812 kB / 443.3 MB, free: 97.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/0.2381, allocations: 6.609 kB / 443.3 MB, free: 97.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/0.2425, allocations: 3.252 MB / 446.5 MB, free: 97.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2425, allocations: 2.844 kB / 446.5 MB, free: 97.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.243, allocations: 206.7 kB / 446.7 MB, free: 97.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009512/0.244, allocations: 466.4 kB / 447.2 MB, free: 97.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.2441, allocations: 34.31 kB / 447.2 MB, free: 97.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/0.2476, allocations: 7.525 MB / 454.7 MB, free: 91.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2476, allocations: 2.844 kB / 454.7 MB, free: 91.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.2497, allocations: 1.8 MB / 456.5 MB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.2501, allocations: 342 kB / 456.9 MB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.2502, allocations: 31.94 kB / 456.9 MB, free: 90.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.2507, allocations: 76.94 kB / 457 MB, free: 90.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.2509, allocations: 110.7 kB / 457.1 MB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.2509, allocations: 38.44 kB / 457.1 MB, free: 90.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007882/0.2517, allocations: 0.9925 MB / 458.1 MB, free: 90.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2517, allocations: 0 / 458.1 MB, free: 90.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001132/0.2528, allocations: 0.5219 MB / 458.6 MB, free: 89.98 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.0008777/0.2537, allocations: 443.3 kB / 459.1 MB, free: 89.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.2554, allocations: 1.525 MB / 460.6 MB, free: 89.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2554, allocations: 0 / 460.6 MB, free: 89.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.2563, allocations: 1.222 MB / 461.8 MB, free: 88.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.2573, allocations: 417.8 kB / 462.2 MB, free: 88.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.2614, allocations: 4.28 MB / 466.5 MB, free: 86.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.2619, allocations: 0.6423 MB / 467.2 MB, free: 85.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005119/0.2624, allocations: 315.8 kB / 467.5 MB, free: 85.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.2626, allocations: 122.4 kB / 467.6 MB, free: 85.86 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2626, allocations: 0 / 467.6 MB, free: 85.86 MB / 410.7 MB Notification: Performance of Templates: time 0.03362/0.2962, allocations: 29.73 MB / 497.3 MB, free: 76.54 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.144592456985265]