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.00113/0.00113, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.087/1.087, allocations: 177.2 MB / 201.1 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] 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.001242/0.001242, allocations: 155.4 kB / 257.7 MB, free: 12.84 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.02468/0.02468, allocations: 6.671 MB / 320.9 MB, free: 26.36 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.575e-06/2.575e-06, allocations: 0 / 392.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.677e-05/3.934e-05, allocations: 6.25 kB / 392.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.1485/0.1485, allocations: 23.41 MB / 416.3 MB, free: 69.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.1613, allocations: 8.082 MB / 424.4 MB, free: 67.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.164, allocations: 219.8 kB / 424.6 MB, free: 67.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00843/0.1724, allocations: 8.676 MB / 433.3 MB, free: 63.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00694/0.1793, allocations: 3.141 MB / 436.4 MB, free: 60.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.1828, allocations: 1.829 MB / 438.2 MB, free: 59.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009247/0.1921, allocations: 11.72 MB / 450 MB, free: 49.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01497/0.207, allocations: 14.52 MB / 464.5 MB, free: 35.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01889/0.2259, allocations: 9.057 MB / 473.5 MB, free: 25.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00961/0.2355, allocations: 6.41 MB / 479.9 MB, free: 19.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002942/0.2385, allocations: 1.715 MB / 481.7 MB, free: 17.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/0.2429, allocations: 2.167 MB / 483.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.2448, allocations: 3.503 MB / 487.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004926/0.2497, allocations: 4.277 MB / 491.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.2606, allocations: 10.88 MB / 0.4907 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2606, allocations: 0 / 0.4907 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2606, allocations: 0 / 0.4907 GB, free: 12.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001509/0.2607, allocations: 0 / 0.4907 GB, free: 12.96 MB / 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.02299/0.2837, allocations: 13.42 MB / 0.5038 GB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2838, allocations: 12.03 kB / 0.5038 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02039/0.3042, allocations: 6.095 MB / 0.5098 GB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007501/0.3117, allocations: 6.561 MB / 0.5162 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005786/0.3122, allocations: 0.7224 MB / 0.5169 GB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.3133, allocations: 0.9569 MB / 0.5178 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.3236, allocations: 7.775 MB / 0.5254 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.3238, allocations: 23.81 kB / 0.5254 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006794/0.3244, allocations: 403.9 kB / 0.5258 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003532/0.3248, allocations: 0.5591 MB / 0.5264 GB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005578/0.3304, allocations: 3.688 MB / 0.53 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3335/0.6638, allocations: 41.24 MB / 0.5702 GB, free: 76.04 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007229/0.671, allocations: 5.725 MB / 0.5758 GB, free: 75.68 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.6731, allocations: 1.327 MB / 0.5771 GB, free: 75.63 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.6734, allocations: 145 kB / 0.5773 GB, free: 75.62 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/0.6735, allocations: 85.5 kB / 0.5773 GB, free: 75.58 MB / 394.8 MB Notification: Performance of pre-optimization done (n=447): time 6.603e-06/0.6735, allocations: 0 / 0.5773 GB, free: 75.58 MB / 394.8 MB Notification: Performance of matching and sorting (n=452): time 0.02381/0.6973, allocations: 10.8 MB / 0.5879 GB, free: 74.3 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.6973, allocations: 96.86 kB / 0.588 GB, free: 74.23 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004123/0.7014, allocations: 3.786 MB / 0.5917 GB, free: 73.73 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002989/0.7017, allocations: 98.58 kB / 0.5918 GB, free: 73.7 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/0.7037, allocations: 4.641 MB / 0.5963 GB, free: 71.44 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009422/0.7046, allocations: 1.648 MB / 0.5979 GB, free: 70.41 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.7059, allocations: 1.361 MB / 0.5992 GB, free: 70.18 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.7059, allocations: 483.7 kB / 0.5997 GB, free: 69.71 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.707, allocations: 0.7429 MB / 0.6004 GB, free: 69.35 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.7089, allocations: 3.989 MB / 0.6043 GB, free: 64.34 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.7124, allocations: 5.392 MB / 0.6096 GB, free: 58.59 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.553e-05/0.7124, allocations: 24 kB / 0.6096 GB, free: 58.57 MB / 394.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.006434/0.7189, allocations: 5.183 MB / 0.6147 GB, free: 54.46 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.7189, allocations: 32 kB / 0.6147 GB, free: 54.43 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.189e-05/0.719, allocations: 75.94 kB / 0.6148 GB, free: 54.36 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.7212, allocations: 1.235 MB / 0.616 GB, free: 53.2 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/0.7237, allocations: 1.272 MB / 0.6172 GB, free: 52.06 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.7305, allocations: 8.375 MB / 0.6254 GB, free: 44.21 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.7339, allocations: 227.8 kB / 0.6256 GB, free: 43.98 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005906/0.7344, allocations: 248 kB / 0.6259 GB, free: 43.74 MB / 394.8 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.002412/0.7369, allocations: 0.5441 MB / 0.6264 GB, free: 43.28 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.7379, allocations: 0.5986 MB / 0.627 GB, free: 42.68 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/0.7435, allocations: 5.159 MB / 0.632 GB, free: 37.96 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00314/0.7466, allocations: 2.593 MB / 0.6345 GB, free: 35.4 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.7466, allocations: 15.5 kB / 0.6346 GB, free: 35.39 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.7466, allocations: 23.86 kB / 0.6346 GB, free: 35.36 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.7635, allocations: 11.57 MB / 0.6459 GB, free: 24.84 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.7636, allocations: 8 kB / 0.6459 GB, free: 24.84 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.7651, allocations: 0.6966 MB / 0.6466 GB, free: 24.18 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.7672, allocations: 1.121 MB / 0.6477 GB, free: 23.06 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002368/0.7674, allocations: 112 kB / 0.6478 GB, free: 22.95 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.7733, allocations: 7.918 MB / 0.6555 GB, free: 14.97 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7734, allocations: 11.66 kB / 0.6555 GB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.7794, allocations: 4.793 MB / 0.6602 GB, free: 10.12 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.781, allocations: 0.8752 MB / 0.6611 GB, free: 9.25 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004676/0.7814, allocations: 88 kB / 0.6611 GB, free: 9.164 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7825, allocations: 119.9 kB / 0.6613 GB, free: 9.047 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005191/0.783, allocations: 348.8 kB / 0.6616 GB, free: 8.715 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/0.7832, allocations: 112 kB / 0.6617 GB, free: 8.605 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001637/0.7848, allocations: 1.689 MB / 0.6633 GB, free: 7.094 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7848, allocations: 0 / 0.6633 GB, free: 7.094 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004811/0.7896, allocations: 1.711 MB / 0.665 GB, free: 5.383 MB / 394.8 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.001165/0.7908, allocations: 0.509 MB / 0.6655 GB, free: 5.07 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005439/0.7962, allocations: 4.237 MB / 0.6696 GB, free: 1.105 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.7962, allocations: 0 / 0.6696 GB, free: 1.105 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002891/0.7991, allocations: 2.341 MB / 0.6719 GB, free: 14.88 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.8024, allocations: 0.977 MB / 0.6729 GB, free: 13.95 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/0.8257, allocations: 14.86 MB / 0.6874 GB, free: 14.95 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/0.829, allocations: 2.742 MB / 0.6901 GB, free: 12.19 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002533/0.8316, allocations: 0.7236 MB / 0.6908 GB, free: 11.46 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/0.8333, allocations: 1.045 MB / 0.6918 GB, free: 10.41 MB / 426.8 MB Notification: Performance of SimCode: time 1.944e-06/0.8333, allocations: 3.375 kB / 0.6918 GB, free: 10.41 MB / 426.8 MB Notification: Performance of Templates: time 0.2368/1.07, allocations: 72.37 MB / 0.7625 GB, free: 110.4 MB / 442.8 MB " [Timeout remaining time 659] 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: 6.172689123079181]