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.001921/0.001921, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.581/1.581, allocations: 177.1 MB / 199.7 MB, free: 5.805 MB / 186.7 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.002123/0.002123, allocations: 168.6 kB / 256.3 MB, free: 13.16 MB / 250.7 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.04131/0.04131, allocations: 6.668 MB / 319.4 MB, free: 26.56 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 390.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.391e-05/4.611e-05, allocations: 2.312 kB / 390.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.2243/0.2244, allocations: 23.91 MB / 414.8 MB, free: 69.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.2432, allocations: 8.126 MB / 423 MB, free: 67.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006929/0.2501, allocations: 218.1 kB / 423.2 MB, free: 67.26 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01987/0.27, allocations: 8.846 MB / 432 MB, free: 62.9 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.2818, allocations: 3.163 MB / 435.2 MB, free: 60.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005604/0.2874, allocations: 1.847 MB / 437 MB, free: 58.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01565/0.3031, allocations: 11.7 MB / 448.7 MB, free: 49.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02419/0.3273, allocations: 14.52 MB / 463.2 MB, free: 34.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01746/0.3447, allocations: 8.979 MB / 472.2 MB, free: 25.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.3553, allocations: 6.219 MB / 478.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004919/0.3602, allocations: 1.715 MB / 480.2 MB, free: 18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008283/0.3685, allocations: 2.163 MB / 482.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005227/0.3737, allocations: 3.511 MB / 485.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01086/0.3846, allocations: 4.289 MB / 490.1 MB, free: 8.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03597/0.4206, allocations: 23.64 MB / 0.5017 GB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4206, allocations: 3.938 kB / 0.5017 GB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4206, allocations: 0 / 0.5017 GB, free: 316 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007728/0.4213, allocations: 0 / 0.5017 GB, free: 316 kB / 346.7 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.05348/0.4748, allocations: 15.58 MB / 0.5169 GB, free: 0.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.241e-05/0.4749, allocations: 8.031 kB / 0.5169 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04819/0.5231, allocations: 7.841 MB / 0.5246 GB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0222/0.5453, allocations: 7.037 MB / 0.5315 GB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/0.5464, allocations: 0.7146 MB / 0.5322 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005359/0.5518, allocations: 0.9491 MB / 0.5331 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.237/0.7888, allocations: 16.63 MB / 0.5493 GB, free: 107.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004776/0.7893, allocations: 11.14 kB / 0.5493 GB, free: 107.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003904/0.7932, allocations: 401.1 kB / 0.5497 GB, free: 107.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001069/0.7942, allocations: 0.5603 MB / 0.5503 GB, free: 107.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03772/0.8319, allocations: 13.42 MB / 0.5634 GB, free: 105.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1232/0.9552, allocations: 104.8 MB / 0.6657 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.9691, allocations: 8.005 MB / 0.6735 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00614/0.9753, allocations: 2.883 MB / 0.6763 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/0.9758, allocations: 143.4 kB / 0.6765 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.608e-05/0.9759, allocations: 84.89 kB / 0.6766 GB, free: 12.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=447): time 8.136e-06/0.9759, allocations: 0 / 0.6766 GB, free: 12.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=452): time 0.05452/1.03, allocations: 18.33 MB / 0.6945 GB, free: 10.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/1.03, allocations: 98.95 kB / 0.6945 GB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.041, allocations: 5.82 MB / 0.7002 GB, free: 4.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007514/1.041, allocations: 101.7 kB / 0.7003 GB, free: 4.227 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1998/1.241, allocations: 4.897 MB / 0.7051 GB, free: 120.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002372/1.243, allocations: 1.777 MB / 0.7068 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003114/1.247, allocations: 1.591 MB / 0.7084 GB, free: 120.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/1.247, allocations: 480.6 kB / 0.7089 GB, free: 119.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005398/1.252, allocations: 2.5 MB / 0.7113 GB, free: 119.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007427/1.26, allocations: 6.017 MB / 0.7172 GB, free: 116 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.273, allocations: 9.613 MB / 0.7266 GB, free: 112 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/1.273, allocations: 21.03 kB / 0.7266 GB, free: 112 MB / 426.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02369/1.296, allocations: 9.082 MB / 0.7355 GB, free: 111.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.297, allocations: 33.88 kB / 0.7355 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.297, allocations: 70.19 kB / 0.7356 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005051/1.302, allocations: 1.601 MB / 0.7371 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005883/1.308, allocations: 1.385 MB / 0.7385 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/1.327, allocations: 13.42 MB / 0.7516 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/1.332, allocations: 347.1 kB / 0.7519 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/1.334, allocations: 300.1 kB / 0.7522 GB, free: 102.5 MB / 426.7 MB 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.008052/1.342, allocations: 3.507 MB / 0.7556 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002387/1.344, allocations: 0.6027 MB / 0.7562 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.359, allocations: 8.571 MB / 0.7646 GB, free: 96.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008597/1.368, allocations: 5.327 MB / 0.7698 GB, free: 90.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/1.368, allocations: 12 kB / 0.7698 GB, free: 90.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.314e-05/1.368, allocations: 23.91 kB / 0.7698 GB, free: 90.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03291/1.4, allocations: 18.99 MB / 0.7884 GB, free: 71.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/1.401, allocations: 12.19 kB / 0.7884 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003308/1.404, allocations: 0.8035 MB / 0.7891 GB, free: 70.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004137/1.408, allocations: 1.458 MB / 0.7906 GB, free: 69.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006325/1.409, allocations: 108 kB / 0.7907 GB, free: 69.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/1.422, allocations: 12.36 MB / 0.8027 GB, free: 56.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.422, allocations: 11.94 kB / 0.8028 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.437, allocations: 9.65 MB / 0.8122 GB, free: 46.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003198/1.44, allocations: 0.9496 MB / 0.8131 GB, free: 45.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009513/1.441, allocations: 91.98 kB / 0.8132 GB, free: 45.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/1.443, allocations: 219.8 kB / 0.8134 GB, free: 45.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006963/1.444, allocations: 359.2 kB / 0.8137 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.444, allocations: 140 kB / 0.8139 GB, free: 45.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003988/1.448, allocations: 3.064 MB / 0.8169 GB, free: 41.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/1.448, allocations: 0 / 0.8169 GB, free: 41.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006943/1.455, allocations: 1.719 MB / 0.8185 GB, free: 40.27 MB / 426.7 MB 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.00308/1.458, allocations: 0.562 MB / 0.8191 GB, free: 39.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01216/1.47, allocations: 7.468 MB / 0.8264 GB, free: 32.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.47, allocations: 4.062 kB / 0.8264 GB, free: 32.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006174/1.476, allocations: 3.691 MB / 0.83 GB, free: 28.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005171/1.482, allocations: 0.9885 MB / 0.831 GB, free: 27.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/1.508, allocations: 17.02 MB / 0.8476 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005363/1.514, allocations: 5.532 MB / 0.853 GB, free: 4.934 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004999/1.519, allocations: 1.77 MB / 0.8547 GB, free: 3.156 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.52, allocations: 388.4 kB / 0.8551 GB, free: 2.777 MB / 426.7 MB Notification: Performance of SimCode: time 1.694e-06/1.52, allocations: 0 / 0.8551 GB, free: 2.777 MB / 426.7 MB Notification: Performance of Templates: time 0.2818/1.802, allocations: 66.17 MB / 0.9197 GB, free: 91.14 MB / 442.7 MB " [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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.821879181079566]