Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 253.4 MB, free: 14.51 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 206.2 kB / 310 MB, free: 2.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.041/0.041, allocations: 8.923 MB / 375.3 MB, free: 6.617 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 89.91 kB / 0.4904 GB, free: 44.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09948/0.102, allocations: 55.61 MB / 0.5447 GB, free: 4.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.2765/0.3785, allocations: 21.49 MB / 0.5657 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.3943, allocations: 7.897 MB / 0.5734 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00611/0.4004, allocations: 220.4 kB / 0.5736 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01969/0.4201, allocations: 7.835 MB / 0.5812 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.4318, allocations: 3.069 MB / 0.5842 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006376/0.4382, allocations: 1.83 MB / 0.586 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01607/0.4543, allocations: 11.33 MB / 0.5971 GB, free: 200 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03079/0.4851, allocations: 14.49 MB / 0.6112 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0124/0.4975, allocations: 6.074 MB / 0.6172 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01353/0.511, allocations: 6.276 MB / 0.6233 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005554/0.5166, allocations: 1.715 MB / 0.625 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008354/0.5249, allocations: 2.14 MB / 0.6271 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006312/0.5312, allocations: 3.402 MB / 0.6304 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01235/0.5436, allocations: 4.915 MB / 0.6352 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03304/0.5766, allocations: 23.29 MB / 0.6579 GB, free: 9.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5766, allocations: 0 / 0.6579 GB, free: 9.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5766, allocations: 4 kB / 0.6579 GB, free: 9.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006567/0.5773, allocations: 0 / 0.6579 GB, free: 9.363 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04432/0.6216, allocations: 13.57 MB / 0.6712 GB, free: 11.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.6217, allocations: 11.98 kB / 0.6712 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03523/0.6569, allocations: 6.253 MB / 0.6773 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/0.6742, allocations: 7.374 MB / 0.6845 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008328/0.675, allocations: 0.7185 MB / 0.6852 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004524/0.6795, allocations: 0.9452 MB / 0.6861 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04757/0.7271, allocations: 16.31 MB / 0.7021 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000511/0.7276, allocations: 7.953 kB / 0.7021 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003895/0.7315, allocations: 404 kB / 0.7025 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006861/0.7322, allocations: 0.563 MB / 0.703 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03584/0.768, allocations: 15.08 MB / 0.7177 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09588/0.8639, allocations: 45.42 MB / 0.7621 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01727/0.8812, allocations: 8.526 MB / 0.7704 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00641/0.8876, allocations: 3.316 MB / 0.7736 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005025/0.8881, allocations: 115.4 kB / 0.7738 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.993e-05/0.8882, allocations: 78.06 kB / 0.7738 GB, free: 2.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=447): time 7.634e-06/0.8882, allocations: 4 kB / 0.7738 GB, free: 2.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=452): time 0.5352/1.423, allocations: 20.41 MB / 0.7938 GB, free: 158.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/1.423, allocations: 101.4 kB / 0.7939 GB, free: 158.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008288/1.432, allocations: 4.42 MB / 0.7982 GB, free: 156.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008403/1.433, allocations: 96.52 kB / 0.7983 GB, free: 156.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.435, allocations: 4.353 MB / 0.8025 GB, free: 153.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001921/1.437, allocations: 1.612 MB / 0.8041 GB, free: 152.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00193/1.439, allocations: 1.208 MB / 0.8053 GB, free: 152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.391e-05/1.439, allocations: 308.2 kB / 0.8056 GB, free: 151.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00484/1.444, allocations: 3.056 MB / 0.8086 GB, free: 150.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006046/1.45, allocations: 5.236 MB / 0.8137 GB, free: 146.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/1.461, allocations: 8.878 MB / 0.8223 GB, free: 140.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.93e-05/1.461, allocations: 19.59 kB / 0.8224 GB, free: 140.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01644/1.477, allocations: 9.827 MB / 0.832 GB, free: 136.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/1.477, allocations: 39.02 kB / 0.832 GB, free: 136.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/1.477, allocations: 66.94 kB / 0.8321 GB, free: 136.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/1.481, allocations: 1.378 MB / 0.8334 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/1.486, allocations: 1.389 MB / 0.8348 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.5, allocations: 12.05 MB / 0.8465 GB, free: 123.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005356/1.505, allocations: 351.5 kB / 0.8469 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.506, allocations: 297.2 kB / 0.8471 GB, free: 123 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006987/1.513, allocations: 3.888 MB / 0.8509 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/1.515, allocations: 466.3 kB / 0.8514 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.527, allocations: 8.435 MB / 0.8596 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008832/1.535, allocations: 6.209 MB / 0.8657 GB, free: 103.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/1.535, allocations: 13.5 kB / 0.8657 GB, free: 103.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/1.535, allocations: 19.92 kB / 0.8657 GB, free: 103.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/1.562, allocations: 14.97 MB / 0.8803 GB, free: 88.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.562, allocations: 8 kB / 0.8803 GB, free: 88.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003126/1.566, allocations: 0.8074 MB / 0.8811 GB, free: 88.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/1.569, allocations: 1.261 MB / 0.8824 GB, free: 86.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006553/1.569, allocations: 112 kB / 0.8825 GB, free: 86.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.582, allocations: 10.96 MB / 0.8932 GB, free: 75.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.582, allocations: 11.94 kB / 0.8932 GB, free: 75.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/1.597, allocations: 11.15 MB / 0.9041 GB, free: 64.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003175/1.6, allocations: 1.032 MB / 0.9051 GB, free: 63.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.601, allocations: 92 kB / 0.9052 GB, free: 63.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/1.604, allocations: 236.5 kB / 0.9054 GB, free: 62.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006533/1.605, allocations: 347.2 kB / 0.9057 GB, free: 62.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/1.605, allocations: 140 kB / 0.9059 GB, free: 62.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003997/1.609, allocations: 2.951 MB / 0.9087 GB, free: 59.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/1.609, allocations: 0 / 0.9087 GB, free: 59.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007336/1.616, allocations: 1.723 MB / 0.9104 GB, free: 57.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002259/1.618, allocations: 0.5496 MB / 0.911 GB, free: 57.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.631, allocations: 7.652 MB / 0.9184 GB, free: 49.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/1.631, allocations: 8.438 kB / 0.9184 GB, free: 49.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006102/1.637, allocations: 3.694 MB / 0.9221 GB, free: 45.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/1.642, allocations: 0.9512 MB / 0.923 GB, free: 45.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02868/1.67, allocations: 18.04 MB / 0.9406 GB, free: 26.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005798/1.676, allocations: 5.884 MB / 0.9464 GB, free: 20.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/1.678, allocations: 451.3 kB / 0.9468 GB, free: 20.52 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.678, allocations: 0 / 0.9468 GB, free: 20.52 MB / 0.545 GB Notification: Performance of Templates: time 0.5154/2.193, allocations: 231.8 MB / 1.173 GB, free: 31.57 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.833839795086533] Failed to read output from testmodel.py, exit status != 0: 2.2026709229685366 2.213239483 1.63400514 Calling exit ...