Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.00157/0.00157, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.374/1.374, allocations: 177.2 MB / 199.4 MB, free: 8.445 MB / 190.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.001574/0.001574, allocations: 165.5 kB / 256 MB, free: 4.312 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.04044/0.04044, allocations: 6.664 MB / 319 MB, free: 5.375 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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 445.9 MB, free: 25.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.058e-05, allocations: 4.953 kB / 446 MB, free: 25.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.01686/0.01688, allocations: 22.03 MB / 468 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.03107, allocations: 7.714 MB / 475.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003877/0.03494, allocations: 199.1 kB / 475.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01874/0.05369, allocations: 7.545 MB / 483.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.06393, allocations: 3.164 MB / 486.6 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1744/0.2383, allocations: 2.01 MB / 488.6 MB, free: 17.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01139/0.2497, allocations: 9.704 MB / 498.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01503/0.2648, allocations: 11.22 MB / 0.4976 GB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.2757, allocations: 7.144 MB / 0.5046 GB, free: 7.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008946/0.2847, allocations: 4.519 MB / 0.509 GB, free: 5.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003691/0.2883, allocations: 1.353 MB / 0.5103 GB, free: 5.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005629/0.294, allocations: 1.745 MB / 0.512 GB, free: 3.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002542/0.2965, allocations: 2.727 MB / 0.5147 GB, free: 1.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008223/0.3047, allocations: 3.603 MB / 0.5182 GB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02119/0.3259, allocations: 18.48 MB / 0.5362 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3259, allocations: 0 / 0.5362 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3259, allocations: 0 / 0.5362 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003841/0.3263, allocations: 0 / 0.5362 GB, free: 13.21 MB / 382.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.0317/0.358, allocations: 10.81 MB / 0.5468 GB, free: 2.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3581, allocations: 11.98 kB / 0.5468 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03414/0.3922, allocations: 5.676 MB / 0.5523 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.4055, allocations: 5.841 MB / 0.558 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005527/0.406, allocations: 0.5744 MB / 0.5586 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002447/0.4085, allocations: 0.7689 MB / 0.5594 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02846/0.4369, allocations: 12.98 MB / 0.572 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/0.4371, allocations: 11.95 kB / 0.572 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/0.4382, allocations: 322.1 kB / 0.5723 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.4388, allocations: 0.4928 MB / 0.5728 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/0.464, allocations: 12.24 MB / 0.5848 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06425/0.5282, allocations: 36.7 MB / 0.6206 GB, free: 6.836 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/0.5468, allocations: 8.907 MB / 0.6293 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00455/0.5513, allocations: 2.718 MB / 0.632 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/0.5516, allocations: 90.98 kB / 0.6321 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004128/0.5558, allocations: 2.795 MB / 0.6348 GB, free: 9.207 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 6.883e-06/0.5558, allocations: 0 / 0.6348 GB, free: 9.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.04127/0.597, allocations: 18.32 MB / 0.6527 GB, free: 6.852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002335/0.5973, allocations: 359.5 kB / 0.653 GB, free: 6.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/0.6029, allocations: 3.365 MB / 0.6563 GB, free: 3.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007042/0.6036, allocations: 89.7 kB / 0.6564 GB, free: 2.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3032/0.9068, allocations: 3.496 MB / 0.6598 GB, free: 161.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.9083, allocations: 1.398 MB / 0.6612 GB, free: 161 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001841/0.9101, allocations: 1.09 MB / 0.6622 GB, free: 160.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.9101, allocations: 304.4 kB / 0.6625 GB, free: 160.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003912/0.9141, allocations: 2.579 MB / 0.665 GB, free: 160 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/0.9191, allocations: 4.718 MB / 0.6696 GB, free: 156.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009678/0.9288, allocations: 7.47 MB / 0.6769 GB, free: 151.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-05/0.9289, allocations: 18.44 kB / 0.677 GB, free: 151.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01357/0.9425, allocations: 8.296 MB / 0.6851 GB, free: 148.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.9426, allocations: 56.27 kB / 0.6851 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.294e-05/0.9427, allocations: 65.47 kB / 0.6852 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/0.9452, allocations: 0.9932 MB / 0.6861 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/0.9495, allocations: 1.271 MB / 0.6874 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.9603, allocations: 8.51 MB / 0.6957 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/0.9645, allocations: 349.8 kB / 0.696 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007674/0.9653, allocations: 274.3 kB / 0.6963 GB, free: 142.8 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.004139/0.9694, allocations: 2.896 MB / 0.6991 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008593/0.9703, allocations: 389.4 kB / 0.6995 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009432/0.9797, allocations: 6.16 MB / 0.7055 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/0.9797, allocations: 48 kB / 0.7055 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.599e-05/0.9798, allocations: 11.94 kB / 0.7056 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.004e-05/0.9798, allocations: 26.25 kB / 0.7056 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/1.001, allocations: 12.75 MB / 0.718 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.001, allocations: 4.688 kB / 0.718 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.003, allocations: 0.6953 MB / 0.7187 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/1.006, allocations: 0.8677 MB / 0.7196 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/1.006, allocations: 95.97 kB / 0.7197 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008871/1.015, allocations: 7.461 MB / 0.7269 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.015, allocations: 12 kB / 0.727 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/1.026, allocations: 8.807 MB / 0.7356 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.028, allocations: 0.8352 MB / 0.7364 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/1.028, allocations: 75.17 kB / 0.7364 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.03, allocations: 191.8 kB / 0.7366 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/1.031, allocations: 291 kB / 0.7369 GB, free: 103.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.031, allocations: 124 kB / 0.737 GB, free: 103.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00245/1.033, allocations: 2.165 MB / 0.7391 GB, free: 101.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.033, allocations: 0 / 0.7391 GB, free: 101.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004377/1.038, allocations: 1.449 MB / 0.7405 GB, free: 100.1 MB / 494.1 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.0005089/1.038, allocations: 250.9 kB / 0.7408 GB, free: 99.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008822/1.047, allocations: 6.282 MB / 0.7469 GB, free: 93.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.047, allocations: 128 / 0.7469 GB, free: 93.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004384/1.051, allocations: 2.92 MB / 0.7498 GB, free: 90.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/1.055, allocations: 0.7139 MB / 0.7505 GB, free: 89.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/1.074, allocations: 13.88 MB / 0.764 GB, free: 75.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003833/1.077, allocations: 4.534 MB / 0.7684 GB, free: 71.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003621/1.081, allocations: 1.561 MB / 0.77 GB, free: 69.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009781/1.082, allocations: 340.4 kB / 0.7703 GB, free: 69.48 MB / 494.1 MB Notification: Performance of SimCode: time 9.21e-07/1.082, allocations: 0 / 0.7703 GB, free: 69.48 MB / 494.1 MB Notification: Performance of Templates: time 0.08092/1.163, allocations: 53.87 MB / 0.8229 GB, free: 16.24 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.401606246829033] Failed to read output from testmodel.py, exit status != 0: 1.1703928858041763 1.180687769 0.852206054 Calling exit ...