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.001575/0.001575, allocations: 116 kB / 21.19 MB, free: 4.348 MB / 13.93 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.0021/0.0021, allocations: 217.3 kB / 24.48 MB, free: 1.363 MB / 13.93 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.061/1.061, allocations: 230.6 MB / 258.2 MB, free: 3.105 MB / 202.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.1845/0.1845, allocations: 47.71 MB / 362.4 MB, free: 15.42 MB / 298.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=45999,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=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 99.84 kB / 0.4978 GB, free: 3.199 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3149, allocations: 66.21 MB / 0.5624 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.008178/0.323, allocations: 8.712 MB / 0.571 GB, free: 4.898 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005194/0.3282, allocations: 3.557 MB / 0.5744 GB, free: 1.332 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007579/0.329, allocations: 63.56 kB / 0.5745 GB, free: 1.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.3302, allocations: 0.6637 MB / 0.5751 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.3319, allocations: 0.9284 MB / 0.576 GB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.3326, allocations: 483.1 kB / 0.5765 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.3342, allocations: 2.665 MB / 0.5791 GB, free: 12.51 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009276/0.3351, allocations: 1.073 MB / 0.5802 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008839/0.336, allocations: 1.234 MB / 0.5814 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.3375, allocations: 1.455 MB / 0.5828 GB, free: 8.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.3378, allocations: 304 kB / 0.5831 GB, free: 8.383 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006466/0.3384, allocations: 0.5503 MB / 0.5836 GB, free: 7.832 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005876/0.339, allocations: 1.052 MB / 0.5846 GB, free: 6.777 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007339/0.3397, allocations: 1.201 MB / 0.5858 GB, free: 5.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.3426, allocations: 4.34 MB / 0.59 GB, free: 1.215 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3426, allocations: 0 / 0.59 GB, free: 1.215 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3426, allocations: 0 / 0.59 GB, free: 1.215 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.3426, allocations: 0 / 0.59 GB, free: 1.215 MB / 426.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.003197/0.3458, allocations: 3.2 MB / 0.5932 GB, free: 13.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3458, allocations: 8.031 kB / 0.5932 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005665/0.3464, allocations: 378.8 kB / 0.5935 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.3481, allocations: 1.67 MB / 0.5952 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.3481, allocations: 148.4 kB / 0.5953 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.3483, allocations: 207.9 kB / 0.5955 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.3514, allocations: 2.806 MB / 0.5983 GB, free: 8.613 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.3514, allocations: 0 / 0.5983 GB, free: 8.613 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.3515, allocations: 84 kB / 0.5983 GB, free: 8.531 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/0.3516, allocations: 95.92 kB / 0.5984 GB, free: 8.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.354, allocations: 2.264 MB / 0.6006 GB, free: 6.172 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007228/0.3612, allocations: 7.076 MB / 0.6075 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.3628, allocations: 1.321 MB / 0.6088 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.3639, allocations: 1.015 MB / 0.6098 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.3641, allocations: 52.97 kB / 0.6099 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3641, allocations: 43.56 kB / 0.6099 GB, free: 12.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 2.344e-06/0.3641, allocations: 3.938 kB / 0.6099 GB, free: 12.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=132): time 0.007559/0.3717, allocations: 6.091 MB / 0.6159 GB, free: 6.324 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.3717, allocations: 64.72 kB / 0.6159 GB, free: 6.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.3738, allocations: 2.047 MB / 0.6179 GB, free: 4.199 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.3738, allocations: 45.7 kB / 0.618 GB, free: 4.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/0.3744, allocations: 1.148 MB / 0.6191 GB, free: 2.988 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.3746, allocations: 479.9 kB / 0.6196 GB, free: 2.516 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.3749, allocations: 247.5 kB / 0.6198 GB, free: 2.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.375, allocations: 357.9 kB / 0.6201 GB, free: 1.914 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008169/0.3758, allocations: 0.7612 MB / 0.6209 GB, free: 1.152 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000913/0.3767, allocations: 1.013 MB / 0.6219 GB, free: 52 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.3785, allocations: 1.858 MB / 0.6237 GB, free: 14.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.3785, allocations: 4 kB / 0.6237 GB, free: 14.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003248/0.3818, allocations: 2.735 MB / 0.6264 GB, free: 11.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3818, allocations: 10.5 kB / 0.6264 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3818, allocations: 8 kB / 0.6264 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.3829, allocations: 0.7775 MB / 0.6271 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.3835, allocations: 275.5 kB / 0.6274 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/0.3912, allocations: 9.238 MB / 0.6364 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.3919, allocations: 99.81 kB / 0.6365 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.392, allocations: 55.92 kB / 0.6366 GB, free: 0.6797 MB / 474.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.001013/0.393, allocations: 0.7511 MB / 0.6373 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.3933, allocations: 202.7 kB / 0.6375 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.3961, allocations: 2.464 MB / 0.6399 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.3961, allocations: 16 kB / 0.6399 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3961, allocations: 4 kB / 0.6399 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3961, allocations: 11.97 kB / 0.6399 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/0.4009, allocations: 4.378 MB / 0.6442 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4009, allocations: 0 / 0.6442 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.4014, allocations: 211.7 kB / 0.6444 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009562/0.4024, allocations: 0.6395 MB / 0.645 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.4025, allocations: 39.97 kB / 0.6451 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/0.4085, allocations: 8.265 MB / 0.6531 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4085, allocations: 0 / 0.6531 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.4122, allocations: 3.525 MB / 0.6566 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.4127, allocations: 358.5 kB / 0.6569 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.4128, allocations: 24 kB / 0.6569 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.4133, allocations: 87.97 kB / 0.657 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.4135, allocations: 116.7 kB / 0.6571 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.4136, allocations: 44.03 kB / 0.6572 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001294/0.4148, allocations: 1.427 MB / 0.6586 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4148, allocations: 0 / 0.6586 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001246/0.4161, allocations: 0.5195 MB / 0.6591 GB, free: 9.156 MB / 0.4948 GB 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.001089/0.4172, allocations: 491.5 kB / 0.6595 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002738/0.4199, allocations: 2.299 MB / 0.6618 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4199, allocations: 0 / 0.6618 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.4213, allocations: 1.471 MB / 0.6632 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.4223, allocations: 391.7 kB / 0.6636 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006009/0.4284, allocations: 5.286 MB / 0.6688 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.4294, allocations: 1.368 MB / 0.6701 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.4297, allocations: 135.4 kB / 0.6702 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/0.4297, allocations: 0 / 0.6702 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.283/0.7127, allocations: 64.48 MB / 0.7332 GB, free: 102.6 MB / 0.5261 GB " [Timeout remaining time 659] 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 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.133324476191774]