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.000758/0.000758, allocations: 76.55 kB / 19.93 MB, free: 4.633 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 0.8714/0.8714, allocations: 177.2 MB / 200.2 MB, free: 5.938 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.000969/0.000969, allocations: 159.6 kB / 256.7 MB, free: 13.34 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.02637/0.02637, allocations: 6.668 MB / 319.8 MB, free: 26.78 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.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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 446.7 MB, free: 37.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.644e-05, allocations: 2.281 kB / 446.7 MB, free: 37.08 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.01505/0.01507, allocations: 22.02 MB / 468.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009037/0.02411, allocations: 7.71 MB / 476.4 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.02585, allocations: 203 kB / 476.6 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00578/0.03163, allocations: 7.545 MB / 484.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004242/0.03587, allocations: 3.165 MB / 487.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.03823, allocations: 2.026 MB / 489.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006778/0.04501, allocations: 9.712 MB / 499.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.05538, allocations: 11.22 MB / 0.4983 GB, free: 5.152 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005904/0.06128, allocations: 7.141 MB / 0.5053 GB, free: 14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/0.06486, allocations: 4.525 MB / 0.5097 GB, free: 9.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.06612, allocations: 1.352 MB / 0.5111 GB, free: 8.113 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.06784, allocations: 1.734 MB / 0.5128 GB, free: 6.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.06912, allocations: 2.727 MB / 0.5154 GB, free: 3.645 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00266/0.07178, allocations: 3.423 MB / 0.5188 GB, free: 220 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.08359, allocations: 18.47 MB / 0.5368 GB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.0836, allocations: 3.984 kB / 0.5368 GB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0836, allocations: 4 kB / 0.5368 GB, free: 13.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000278/0.08388, allocations: 0 / 0.5368 GB, free: 13.68 MB / 410.7 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.01706/0.1009, allocations: 10.8 MB / 0.5474 GB, free: 2.797 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.101, allocations: 8.031 kB / 0.5474 GB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/0.1163, allocations: 5.676 MB / 0.5529 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00838/0.1247, allocations: 5.833 MB / 0.5586 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.125, allocations: 0.5858 MB / 0.5592 GB, free: 6.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.1262, allocations: 0.7616 MB / 0.5599 GB, free: 5.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2679/0.3941, allocations: 12.98 MB / 0.5726 GB, free: 104.4 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.3942, allocations: 18.34 kB / 0.5726 GB, free: 104.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000527/0.3948, allocations: 318.4 kB / 0.5729 GB, free: 104.2 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.395, allocations: 0.4975 MB / 0.5734 GB, free: 104.1 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.4064, allocations: 12.23 MB / 0.5853 GB, free: 98.19 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0291/0.4355, allocations: 36.68 MB / 0.6212 GB, free: 61.46 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/0.4437, allocations: 8.912 MB / 0.6299 GB, free: 53.55 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.4459, allocations: 2.723 MB / 0.6325 GB, free: 50.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.4461, allocations: 94.98 kB / 0.6326 GB, free: 50.75 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/0.4481, allocations: 2.791 MB / 0.6353 GB, free: 47.84 MB / 426.8 MB Notification: Performance of pre-optimization done (n=391): time 5.721e-06/0.4481, allocations: 0 / 0.6353 GB, free: 47.84 MB / 426.8 MB Notification: Performance of matching and sorting (n=397): time 0.01967/0.4678, allocations: 18.32 MB / 0.6532 GB, free: 29.79 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.4678, allocations: 351.5 kB / 0.6536 GB, free: 29.37 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.4704, allocations: 3.368 MB / 0.6569 GB, free: 26.07 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.4706, allocations: 89.7 kB / 0.6569 GB, free: 25.98 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007903/0.4713, allocations: 3.492 MB / 0.6603 GB, free: 22.61 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004639/0.4718, allocations: 1.401 MB / 0.6617 GB, free: 21.22 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000909/0.4727, allocations: 1.093 MB / 0.6628 GB, free: 20.12 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.301e-05/0.4727, allocations: 305.1 kB / 0.6631 GB, free: 19.82 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.4747, allocations: 2.589 MB / 0.6656 GB, free: 17.22 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.4773, allocations: 4.717 MB / 0.6702 GB, free: 11.57 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004895/0.4822, allocations: 7.463 MB / 0.6775 GB, free: 3.234 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-05/0.4822, allocations: 20 kB / 0.6775 GB, free: 3.215 MB / 426.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.008552/0.4907, allocations: 8.288 MB / 0.6856 GB, free: 10.89 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.4908, allocations: 65.62 kB / 0.6857 GB, free: 10.82 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.883e-05/0.4909, allocations: 60 kB / 0.6857 GB, free: 10.77 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.4925, allocations: 0.9929 MB / 0.6867 GB, free: 9.77 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.4947, allocations: 1.264 MB / 0.6879 GB, free: 8.504 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008398/0.5031, allocations: 8.527 MB / 0.6963 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.5055, allocations: 347.5 kB / 0.6966 GB, free: 15.54 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.5058, allocations: 275.9 kB / 0.6969 GB, free: 15.27 MB / 458.8 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.003341/0.5091, allocations: 2.898 MB / 0.6997 GB, free: 12.36 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/0.5096, allocations: 393.4 kB / 0.7001 GB, free: 11.97 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006943/0.5166, allocations: 6.164 MB / 0.7061 GB, free: 5.742 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.5166, allocations: 40 kB / 0.7061 GB, free: 5.703 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.5166, allocations: 8 kB / 0.7061 GB, free: 5.695 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.5166, allocations: 24.11 kB / 0.7061 GB, free: 5.672 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.5308, allocations: 12.75 MB / 0.7186 GB, free: 8.855 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.5308, allocations: 7.938 kB / 0.7186 GB, free: 8.848 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.5322, allocations: 0.6871 MB / 0.7193 GB, free: 8.16 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/0.5336, allocations: 0.8755 MB / 0.7201 GB, free: 7.281 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.5337, allocations: 91.97 kB / 0.7202 GB, free: 7.191 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006816/0.5406, allocations: 7.459 MB / 0.7275 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5406, allocations: 15.97 kB / 0.7275 GB, free: 15.63 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008769/0.5493, allocations: 8.803 MB / 0.7361 GB, free: 6.684 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.5507, allocations: 0.8371 MB / 0.7369 GB, free: 5.844 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/0.551, allocations: 76 kB / 0.737 GB, free: 5.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/0.552, allocations: 191.8 kB / 0.7372 GB, free: 5.582 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/0.5523, allocations: 291 kB / 0.7375 GB, free: 5.297 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.5525, allocations: 120 kB / 0.7376 GB, free: 5.18 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002417/0.5549, allocations: 2.165 MB / 0.7397 GB, free: 3.016 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5549, allocations: 0 / 0.7397 GB, free: 3.016 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003107/0.558, allocations: 1.449 MB / 0.7411 GB, free: 1.566 MB / 490.8 MB 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.0003998/0.5584, allocations: 262.2 kB / 0.7414 GB, free: 1.305 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.006679/0.5651, allocations: 6.275 MB / 0.7475 GB, free: 11 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5651, allocations: 0 / 0.7475 GB, free: 11 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002802/0.5679, allocations: 2.918 MB / 0.7503 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.5697, allocations: 0.7063 MB / 0.751 GB, free: 7.352 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1543/0.724, allocations: 13.68 MB / 0.7644 GB, free: 175.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/0.7268, allocations: 4.381 MB / 0.7687 GB, free: 175.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.7279, allocations: 389.5 kB / 0.769 GB, free: 175.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.012e-06/0.7279, allocations: 0 / 0.769 GB, free: 175.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.08071/0.8086, allocations: 135.4 MB / 0.9013 GB, free: 47.78 MB / 0.4949 GB " [Timeout remaining time 659] 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: 9.51976960990578] Failed to read output from testmodel.py, exit status != 0: 0.8140464536845684 0.8194354349999999 0.734578527 Calling exit ...