Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.001657/0.001657, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.518/1.518, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.00171/0.00171, allocations: 221.5 kB / 310 MB, free: 3.086 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.04154/0.04154, allocations: 8.931 MB / 375.3 MB, free: 6.559 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.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") [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.002495/0.002495, allocations: 79.88 kB / 0.4904 GB, free: 44.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1037, allocations: 55.61 MB / 0.5447 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.2676/0.3714, allocations: 23.25 MB / 0.5674 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.3875, allocations: 7.864 MB / 0.5751 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006319/0.3938, allocations: 236.4 kB / 0.5753 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02125/0.415, allocations: 8.718 MB / 0.5838 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.4278, allocations: 3.375 MB / 0.5871 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006356/0.4342, allocations: 1.815 MB / 0.5889 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01764/0.4518, allocations: 12.37 MB / 0.6009 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0318/0.4836, allocations: 15.84 MB / 0.6164 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01489/0.4985, allocations: 6.654 MB / 0.6229 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01461/0.5131, allocations: 6.976 MB / 0.6297 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005923/0.519, allocations: 1.84 MB / 0.6315 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008361/0.5274, allocations: 2.199 MB / 0.6337 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006753/0.5341, allocations: 3.612 MB / 0.6372 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01394/0.5481, allocations: 5.362 MB / 0.6424 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03515/0.5832, allocations: 24.88 MB / 0.6667 GB, free: 232 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.5832, allocations: 4 kB / 0.6667 GB, free: 228 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5832, allocations: 4 kB / 0.6667 GB, free: 224 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007617/0.584, allocations: 0 / 0.6667 GB, free: 224 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.05008/0.6341, allocations: 14.67 MB / 0.6811 GB, free: 1.449 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.6341, allocations: 11.98 kB / 0.6811 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04869/0.6828, allocations: 8.436 MB / 0.6893 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/0.7033, allocations: 7.809 MB / 0.6969 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001089/0.7043, allocations: 0.8068 MB / 0.6977 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005119/0.7095, allocations: 1.059 MB / 0.6987 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05027/0.7597, allocations: 18.54 MB / 0.7169 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004549/0.7602, allocations: 19.94 kB / 0.7169 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003811/0.764, allocations: 447.9 kB / 0.7173 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000874/0.7649, allocations: 0.6711 MB / 0.718 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04168/0.8066, allocations: 17.48 MB / 0.735 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5972/1.404, allocations: 50.32 MB / 0.7842 GB, free: 137.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02623/1.43, allocations: 12.66 MB / 0.7965 GB, free: 137.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007135/1.437, allocations: 3.732 MB / 0.8002 GB, free: 137.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/1.438, allocations: 134.8 kB / 0.8003 GB, free: 137.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.982e-05/1.438, allocations: 85.59 kB / 0.8004 GB, free: 137.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=518): time 8.567e-06/1.438, allocations: 0 / 0.8004 GB, free: 137.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=524): time 0.04802/1.486, allocations: 21.28 MB / 0.8212 GB, free: 131.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/1.486, allocations: 108.5 kB / 0.8213 GB, free: 131.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005806/1.492, allocations: 4.011 MB / 0.8252 GB, free: 130.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001027/1.493, allocations: 104.6 kB / 0.8253 GB, free: 130 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002485/1.495, allocations: 4.697 MB / 0.8299 GB, free: 127 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002139/1.497, allocations: 1.861 MB / 0.8317 GB, free: 125.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/1.499, allocations: 1.369 MB / 0.833 GB, free: 124.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/1.499, allocations: 305.1 kB / 0.8333 GB, free: 124.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004671/1.504, allocations: 3.427 MB / 0.8367 GB, free: 123.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006134/1.51, allocations: 5.91 MB / 0.8424 GB, free: 118.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/1.522, allocations: 10.01 MB / 0.8522 GB, free: 111.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/1.522, allocations: 26.34 kB / 0.8522 GB, free: 111.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01923/1.542, allocations: 10.89 MB / 0.8629 GB, free: 103.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/1.542, allocations: 36 kB / 0.8629 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001435/1.542, allocations: 80 kB / 0.863 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/1.545, allocations: 1.355 MB / 0.8643 GB, free: 102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006005/1.551, allocations: 1.626 MB / 0.8659 GB, free: 100.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.565, allocations: 10.92 MB / 0.8766 GB, free: 89.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006102/1.571, allocations: 399.5 kB / 0.8769 GB, free: 88.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.573, allocations: 336 kB / 0.8773 GB, free: 88.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008193/1.581, allocations: 4.165 MB / 0.8813 GB, free: 84.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/1.583, allocations: 486.7 kB / 0.8818 GB, free: 83.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.597, allocations: 8.392 MB / 0.89 GB, free: 75.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01089/1.608, allocations: 7.026 MB / 0.8969 GB, free: 68.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.608, allocations: 12 kB / 0.8969 GB, free: 68.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/1.608, allocations: 27.89 kB / 0.8969 GB, free: 68.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/1.639, allocations: 16.12 MB / 0.9126 GB, free: 52.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.639, allocations: 0 / 0.9126 GB, free: 52.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003806/1.643, allocations: 0.9439 MB / 0.9136 GB, free: 51.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/1.646, allocations: 1.225 MB / 0.9148 GB, free: 49.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/1.647, allocations: 116 kB / 0.9149 GB, free: 49.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/1.659, allocations: 9.629 MB / 0.9243 GB, free: 40.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.659, allocations: 11.98 kB / 0.9243 GB, free: 40.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.678, allocations: 12.21 MB / 0.9362 GB, free: 27.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003853/1.681, allocations: 1.094 MB / 0.9373 GB, free: 26.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/1.683, allocations: 96.06 kB / 0.9374 GB, free: 26.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/1.687, allocations: 267.7 kB / 0.9376 GB, free: 26.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/1.688, allocations: 376.1 kB / 0.938 GB, free: 25.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006529/1.688, allocations: 152 kB / 0.9381 GB, free: 25.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004086/1.692, allocations: 2.587 MB / 0.9407 GB, free: 23.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.692, allocations: 4 kB / 0.9407 GB, free: 23.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008408/1.701, allocations: 1.914 MB / 0.9425 GB, free: 21.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/1.702, allocations: 297.6 kB / 0.9428 GB, free: 20.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.716, allocations: 8.351 MB / 0.951 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.716, allocations: 0 / 0.951 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007728/1.724, allocations: 3.873 MB / 0.9547 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007561/1.732, allocations: 0.9981 MB / 0.9557 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04593/1.778, allocations: 19.2 MB / 0.9745 GB, free: 4.383 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01593/1.794, allocations: 6.375 MB / 0.9807 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00304/1.797, allocations: 491.3 kB / 0.9812 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of SimCode: time 1.943e-06/1.797, allocations: 0 / 0.9812 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of Templates: time 0.4763/2.273, allocations: 186.2 MB / 1.163 GB, free: 35.95 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.050922865979373] Failed to read output from testmodel.py, exit status != 0: 2.2825244860723615 2.294154298 1.707847262 Calling exit ...