Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001269/0.001269, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.453/1.453, allocations: 230.6 MB / 253.4 MB, free: 8.312 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.001723/0.001723, allocations: 221.1 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.04043/0.04043, allocations: 8.912 MB / 375.3 MB, free: 1.883 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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [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.002791/0.002791, allocations: 83.81 kB / 0.4905 GB, free: 6.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3512, allocations: 55.6 MB / 0.5448 GB, free: 27.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.02139/0.3726, allocations: 25.66 MB / 0.5698 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.3925, allocations: 8.085 MB / 0.5777 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007669/0.4002, allocations: 201.6 kB / 0.5779 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02102/0.4212, allocations: 7.763 MB / 0.5855 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01434/0.4355, allocations: 3.175 MB / 0.5886 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00801/0.4435, allocations: 2.105 MB / 0.5907 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01896/0.4625, allocations: 9.395 MB / 0.5998 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02799/0.4905, allocations: 11.36 MB / 0.6109 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.5018, allocations: 4.882 MB / 0.6157 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0116/0.5134, allocations: 5.373 MB / 0.6209 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00518/0.5186, allocations: 1.352 MB / 0.6223 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007747/0.5264, allocations: 1.746 MB / 0.624 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005671/0.532, allocations: 2.673 MB / 0.6266 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01252/0.5446, allocations: 5.09 MB / 0.6315 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03249/0.577, allocations: 18.23 MB / 0.6494 GB, free: 1.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5771, allocations: 0 / 0.6494 GB, free: 1.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5771, allocations: 0 / 0.6494 GB, free: 1.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006811/0.5777, allocations: 0 / 0.6494 GB, free: 1.625 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.0387/0.6164, allocations: 10.89 MB / 0.66 GB, free: 6.645 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6165, allocations: 8.031 kB / 0.66 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03441/0.6509, allocations: 5.661 MB / 0.6655 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.6669, allocations: 5.856 MB / 0.6712 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006955/0.6676, allocations: 0.5779 MB / 0.6718 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00395/0.6715, allocations: 0.7616 MB / 0.6726 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03661/0.7081, allocations: 12.8 MB / 0.6851 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002976/0.7084, allocations: 11.95 kB / 0.6851 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002786/0.7112, allocations: 320 kB / 0.6854 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006492/0.7119, allocations: 0.5006 MB / 0.6859 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5581/1.27, allocations: 12.28 MB / 0.6978 GB, free: 106.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08003/1.35, allocations: 41.4 MB / 0.7383 GB, free: 83.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/1.368, allocations: 9.022 MB / 0.7471 GB, free: 79.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004911/1.373, allocations: 2.712 MB / 0.7497 GB, free: 78.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/1.374, allocations: 117.6 kB / 0.7499 GB, free: 78.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003665/1.377, allocations: 2.588 MB / 0.7524 GB, free: 76.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 5.73e-06/1.377, allocations: 0 / 0.7524 GB, free: 76.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.03361/1.411, allocations: 18.28 MB / 0.7702 GB, free: 65.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.411, allocations: 363.4 kB / 0.7706 GB, free: 64.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004539/1.416, allocations: 3.537 MB / 0.774 GB, free: 61.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006941/1.416, allocations: 89.7 kB / 0.7741 GB, free: 61.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/1.418, allocations: 3.503 MB / 0.7775 GB, free: 57.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001326/1.419, allocations: 1.412 MB / 0.7789 GB, free: 56.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/1.421, allocations: 1.097 MB / 0.78 GB, free: 55.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/1.421, allocations: 305.1 kB / 0.7803 GB, free: 55.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/1.424, allocations: 2.556 MB / 0.7828 GB, free: 52.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/1.428, allocations: 4.516 MB / 0.7872 GB, free: 47.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007699/1.436, allocations: 7.463 MB / 0.7945 GB, free: 38.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.819e-05/1.436, allocations: 16 kB / 0.7945 GB, free: 38.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01255/1.448, allocations: 8.294 MB / 0.8026 GB, free: 30.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.01e-05/1.448, allocations: 57.7 kB / 0.8026 GB, free: 30.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/1.448, allocations: 60 kB / 0.8027 GB, free: 30.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/1.451, allocations: 1.008 MB / 0.8037 GB, free: 29.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/1.455, allocations: 1.256 MB / 0.8049 GB, free: 28.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.467, allocations: 8.731 MB / 0.8134 GB, free: 19.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005028/1.472, allocations: 355.5 kB / 0.8138 GB, free: 18.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/1.473, allocations: 268 kB / 0.814 GB, free: 18.67 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.006837/1.48, allocations: 2.899 MB / 0.8169 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/1.482, allocations: 409.4 kB / 0.8172 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.494, allocations: 6.152 MB / 0.8233 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/1.494, allocations: 43.98 kB / 0.8233 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.303e-05/1.494, allocations: 15.94 kB / 0.8233 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-05/1.494, allocations: 19.92 kB / 0.8233 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03187/1.526, allocations: 14.64 MB / 0.8376 GB, free: 10.36 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.99e-05/1.526, allocations: 4 kB / 0.8376 GB, free: 10.36 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003304/1.529, allocations: 0.6832 MB / 0.8383 GB, free: 9.672 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00287/1.532, allocations: 0.8832 MB / 0.8392 GB, free: 8.785 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000726/1.533, allocations: 95.97 kB / 0.8393 GB, free: 8.691 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/1.546, allocations: 7.639 MB / 0.8467 GB, free: 0.9375 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.355e-05/1.546, allocations: 12.11 kB / 0.8467 GB, free: 0.9258 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/1.565, allocations: 8.792 MB / 0.8553 GB, free: 8.008 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/1.569, allocations: 0.8642 MB / 0.8562 GB, free: 7.141 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/1.57, allocations: 72 kB / 0.8562 GB, free: 7.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.574, allocations: 199.8 kB / 0.8564 GB, free: 6.875 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/1.575, allocations: 287 kB / 0.8567 GB, free: 6.594 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006387/1.575, allocations: 123.9 kB / 0.8568 GB, free: 6.473 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005602/1.581, allocations: 2.371 MB / 0.8591 GB, free: 4.109 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.6e-07/1.581, allocations: 0 / 0.8591 GB, free: 4.109 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007764/1.589, allocations: 1.453 MB / 0.8605 GB, free: 2.656 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.001232/1.59, allocations: 250.4 kB / 0.8608 GB, free: 2.406 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.604, allocations: 6.228 MB / 0.8669 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/1.604, allocations: 4 kB / 0.8669 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007015/1.611, allocations: 2.891 MB / 0.8697 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007251/1.619, allocations: 0.8119 MB / 0.8705 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0369/1.655, allocations: 13.8 MB / 0.884 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/1.666, allocations: 4.861 MB / 0.8887 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/1.669, allocations: 407.3 kB / 0.8891 GB, free: 5.238 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.669, allocations: 0 / 0.8891 GB, free: 5.238 MB / 0.545 GB Notification: Performance of Templates: time 0.4601/2.129, 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_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.233087002998218] Failed to read output from testmodel.py, exit status != 0: 2.1391832299996167 2.14960928 1.569718091 Calling exit ...