Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.00133/0.00133, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.443/1.443, allocations: 230.6 MB / 253.4 MB, free: 8.246 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.001674/0.001674, allocations: 213.3 kB / 310 MB, free: 3.125 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.0407/0.0407, allocations: 8.914 MB / 375.3 MB, free: 1.891 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.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [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.00245/0.00245, allocations: 83.88 kB / 0.4905 GB, free: 6.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3422, allocations: 55.61 MB / 0.5448 GB, free: 27.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.02287/0.3651, allocations: 25.66 MB / 0.5698 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01926/0.3843, allocations: 8.085 MB / 0.5777 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007539/0.3919, allocations: 199.9 kB / 0.5779 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02084/0.4127, allocations: 7.763 MB / 0.5855 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.4265, allocations: 3.167 MB / 0.5886 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008749/0.4353, allocations: 2.093 MB / 0.5907 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01924/0.4545, allocations: 9.401 MB / 0.5998 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03004/0.4846, allocations: 11.36 MB / 0.6109 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.497, allocations: 4.886 MB / 0.6157 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01218/0.5091, allocations: 5.365 MB / 0.6209 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005038/0.5142, allocations: 1.355 MB / 0.6223 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007824/0.522, allocations: 1.742 MB / 0.624 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006113/0.5281, allocations: 2.681 MB / 0.6266 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01375/0.5419, allocations: 5.086 MB / 0.6315 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03025/0.5721, allocations: 18.23 MB / 0.6493 GB, free: 1.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.5721, allocations: 3.984 kB / 0.6493 GB, free: 1.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.5721, allocations: 4 kB / 0.6494 GB, free: 1.637 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000561/0.5727, allocations: 3.938 kB / 0.6494 GB, free: 1.633 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03817/0.6109, allocations: 10.88 MB / 0.66 GB, free: 6.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6109, allocations: 12.03 kB / 0.66 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03395/0.6449, allocations: 5.668 MB / 0.6655 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/0.6607, allocations: 5.856 MB / 0.6712 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000776/0.6614, allocations: 0.578 MB / 0.6718 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004078/0.6655, allocations: 0.7694 MB / 0.6726 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03802/0.7035, allocations: 12.79 MB / 0.6851 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003731/0.7039, allocations: 11.89 kB / 0.6851 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003461/0.7074, allocations: 335.9 kB / 0.6854 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007524/0.7081, allocations: 0.4889 MB / 0.6859 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5671/1.275, allocations: 12.28 MB / 0.6979 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08176/1.357, allocations: 41.41 MB / 0.7383 GB, free: 83.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/1.378, allocations: 9.004 MB / 0.7471 GB, free: 79.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005608/1.383, allocations: 2.715 MB / 0.7497 GB, free: 78.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/1.384, allocations: 121.4 kB / 0.7499 GB, free: 78.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005119/1.389, allocations: 2.586 MB / 0.7524 GB, free: 76.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 8.637e-06/1.389, allocations: 0 / 0.7524 GB, free: 76.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.04403/1.433, allocations: 18.28 MB / 0.7702 GB, free: 65.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/1.433, allocations: 367.4 kB / 0.7706 GB, free: 64.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006655/1.44, allocations: 3.536 MB / 0.774 GB, free: 61.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007599/1.441, allocations: 85.7 kB / 0.7741 GB, free: 61.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.443, allocations: 3.501 MB / 0.7775 GB, free: 57.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001589/1.444, allocations: 1.419 MB / 0.7789 GB, free: 56.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003385/1.448, allocations: 1.093 MB / 0.78 GB, free: 55.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/1.448, allocations: 301.1 kB / 0.7803 GB, free: 55.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/1.452, allocations: 2.56 MB / 0.7828 GB, free: 52.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/1.457, allocations: 4.516 MB / 0.7872 GB, free: 47.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009425/1.467, allocations: 7.463 MB / 0.7945 GB, free: 38.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.568e-05/1.467, allocations: 24 kB / 0.7945 GB, free: 38.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01695/1.484, allocations: 8.286 MB / 0.8026 GB, free: 30.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/1.484, allocations: 57.7 kB / 0.8026 GB, free: 30.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/1.484, allocations: 63.98 kB / 0.8027 GB, free: 30.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/1.487, allocations: 1.001 MB / 0.8037 GB, free: 29.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/1.491, allocations: 1.264 MB / 0.8049 GB, free: 28.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.503, allocations: 8.73 MB / 0.8134 GB, free: 19.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005085/1.508, allocations: 347.5 kB / 0.8138 GB, free: 18.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/1.51, allocations: 275.9 kB / 0.814 GB, free: 18.69 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006352/1.516, allocations: 2.899 MB / 0.8169 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/1.518, allocations: 409.4 kB / 0.8173 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.53, allocations: 6.148 MB / 0.8233 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/1.53, allocations: 44 kB / 0.8233 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.754e-05/1.53, allocations: 11.94 kB / 0.8233 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.479e-05/1.53, allocations: 19.92 kB / 0.8233 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/1.564, allocations: 14.64 MB / 0.8376 GB, free: 10.38 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/1.564, allocations: 4 kB / 0.8376 GB, free: 10.38 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003373/1.567, allocations: 0.691 MB / 0.8383 GB, free: 9.688 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/1.57, allocations: 0.8716 MB / 0.8392 GB, free: 8.812 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007672/1.571, allocations: 91.91 kB / 0.8392 GB, free: 8.723 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/1.585, allocations: 7.644 MB / 0.8467 GB, free: 0.9609 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.585, allocations: 11.94 kB / 0.8467 GB, free: 0.9492 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01994/1.605, allocations: 8.799 MB / 0.8553 GB, free: 8.027 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003561/1.608, allocations: 0.8564 MB / 0.8562 GB, free: 7.168 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001597/1.61, allocations: 83.98 kB / 0.8562 GB, free: 7.086 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/1.613, allocations: 187.8 kB / 0.8564 GB, free: 6.902 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/1.614, allocations: 291 kB / 0.8567 GB, free: 6.617 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006656/1.615, allocations: 123.9 kB / 0.8568 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006076/1.621, allocations: 2.371 MB / 0.8591 GB, free: 4.133 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.41e-07/1.621, allocations: 0 / 0.8591 GB, free: 4.133 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008342/1.629, allocations: 1.453 MB / 0.8605 GB, free: 2.68 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/1.631, allocations: 263 kB / 0.8608 GB, free: 2.418 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.646, allocations: 6.223 MB / 0.8669 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.646, allocations: 0 / 0.8669 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007253/1.653, allocations: 2.883 MB / 0.8697 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006981/1.66, allocations: 0.8264 MB / 0.8705 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/1.697, allocations: 13.8 MB / 0.884 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01044/1.707, allocations: 4.854 MB / 0.8887 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/1.71, allocations: 407.3 kB / 0.8891 GB, free: 5.262 MB / 0.545 GB Notification: Performance of SimCode: time 2.044e-06/1.71, allocations: 0 / 0.8891 GB, free: 5.262 MB / 0.545 GB Notification: Performance of Templates: time 0.4711/2.181, allocations: 134.8 MB / 1.021 GB, free: 87.95 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.44415774103254] Failed to read output from testmodel.py, exit status != 0: 2.1915583650115877 2.200760842 1.62582636 Calling exit ...