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.0007238/0.0007238, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.8433/0.8433, allocations: 177.1 MB / 200.2 MB, free: 5.941 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.0009732/0.0009732, allocations: 164.3 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.02169/0.02169, allocations: 6.658 MB / 319.8 MB, free: 26.79 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_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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 446.7 MB, free: 37.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.816e-05, allocations: 4.25 kB / 446.7 MB, free: 37.1 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.01201/0.01203, allocations: 22.03 MB / 468.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02216, allocations: 7.707 MB / 476.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.02506, allocations: 203 kB / 476.6 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006724/0.03179, allocations: 7.551 MB / 484.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.03784, allocations: 3.168 MB / 487.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.04058, allocations: 2.023 MB / 489.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007924/0.0485, allocations: 9.694 MB / 499.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.05961, allocations: 11.22 MB / 0.4983 GB, free: 5.176 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006862/0.06647, allocations: 7.137 MB / 0.5053 GB, free: 14.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004528/0.071, allocations: 4.525 MB / 0.5097 GB, free: 9.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.07237, allocations: 1.352 MB / 0.511 GB, free: 8.141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.0745, allocations: 1.745 MB / 0.5128 GB, free: 6.395 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.07605, allocations: 2.723 MB / 0.5154 GB, free: 3.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002872/0.07892, allocations: 3.415 MB / 0.5187 GB, free: 248 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.09212, allocations: 18.49 MB / 0.5368 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.09213, allocations: 7.938 kB / 0.5368 GB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09213, allocations: 0 / 0.5368 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003001/0.09243, allocations: 0 / 0.5368 GB, free: 13.69 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.01902/0.1114, allocations: 10.79 MB / 0.5473 GB, free: 2.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1115, allocations: 12.03 kB / 0.5474 GB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.1276, allocations: 5.676 MB / 0.5529 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009063/0.1366, allocations: 5.836 MB / 0.5586 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.137, allocations: 0.5819 MB / 0.5592 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.1387, allocations: 0.7616 MB / 0.5599 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3054/0.4441, allocations: 12.97 MB / 0.5726 GB, free: 104.4 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.4442, allocations: 17.78 kB / 0.5726 GB, free: 104.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005449/0.4448, allocations: 324.8 kB / 0.5729 GB, free: 104.2 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002551/0.445, allocations: 0.4979 MB / 0.5734 GB, free: 104.1 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.4572, allocations: 12.22 MB / 0.5853 GB, free: 98.24 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.4863, allocations: 36.69 MB / 0.6212 GB, free: 61.51 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008143/0.4944, allocations: 8.918 MB / 0.6299 GB, free: 53.59 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.4965, allocations: 2.71 MB / 0.6325 GB, free: 50.89 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.4967, allocations: 98.97 kB / 0.6326 GB, free: 50.79 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001908/0.4986, allocations: 2.791 MB / 0.6353 GB, free: 47.88 MB / 426.8 MB Notification: Performance of pre-optimization done (n=391): time 5.671e-06/0.4986, allocations: 0 / 0.6353 GB, free: 47.88 MB / 426.8 MB Notification: Performance of matching and sorting (n=397): time 0.01959/0.5182, allocations: 18.32 MB / 0.6532 GB, free: 29.82 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.5183, allocations: 359.5 kB / 0.6536 GB, free: 29.39 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.5209, allocations: 3.364 MB / 0.6569 GB, free: 26.11 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.5211, allocations: 89.7 kB / 0.6569 GB, free: 26.01 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008131/0.5219, allocations: 3.494 MB / 0.6603 GB, free: 22.63 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.5223, allocations: 1.401 MB / 0.6617 GB, free: 21.25 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009001/0.5232, allocations: 1.085 MB / 0.6628 GB, free: 20.16 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.455e-05/0.5233, allocations: 309.1 kB / 0.6631 GB, free: 19.85 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.5253, allocations: 2.585 MB / 0.6656 GB, free: 17.25 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002585/0.5279, allocations: 4.713 MB / 0.6702 GB, free: 11.61 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/0.5329, allocations: 7.467 MB / 0.6775 GB, free: 3.27 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/0.5329, allocations: 16 kB / 0.6775 GB, free: 3.254 MB / 426.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.008577/0.5414, allocations: 8.297 MB / 0.6856 GB, free: 10.93 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.5415, allocations: 62.58 kB / 0.6857 GB, free: 10.86 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.234e-05/0.5416, allocations: 60 kB / 0.6857 GB, free: 10.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.5432, allocations: 1 MB / 0.6867 GB, free: 9.801 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.5454, allocations: 1.264 MB / 0.6879 GB, free: 8.535 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00811/0.5535, allocations: 8.525 MB / 0.6963 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.5559, allocations: 347.5 kB / 0.6966 GB, free: 15.57 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/0.5562, allocations: 268 kB / 0.6968 GB, free: 15.31 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.003726/0.5599, allocations: 2.906 MB / 0.6997 GB, free: 12.38 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/0.5605, allocations: 393.5 kB / 0.7001 GB, free: 12 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006404/0.5669, allocations: 6.16 MB / 0.7061 GB, free: 5.773 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.5669, allocations: 40 kB / 0.7061 GB, free: 5.734 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.5669, allocations: 11.98 kB / 0.7061 GB, free: 5.723 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/0.5669, allocations: 24.11 kB / 0.7061 GB, free: 5.699 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.5811, allocations: 12.74 MB / 0.7186 GB, free: 8.891 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.5811, allocations: 11.88 kB / 0.7186 GB, free: 8.879 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.5825, allocations: 0.6865 MB / 0.7193 GB, free: 8.191 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.5841, allocations: 0.876 MB / 0.7201 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.5842, allocations: 95.95 kB / 0.7202 GB, free: 7.219 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007428/0.5917, allocations: 7.453 MB / 0.7275 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.5917, allocations: 15.97 kB / 0.7275 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009235/0.6009, allocations: 8.81 MB / 0.7361 GB, free: 6.711 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/0.6024, allocations: 0.8292 MB / 0.7369 GB, free: 5.879 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.6027, allocations: 75.98 kB / 0.737 GB, free: 5.805 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/0.6036, allocations: 191.8 kB / 0.7372 GB, free: 5.617 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.604, allocations: 291 kB / 0.7375 GB, free: 5.332 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.6042, allocations: 120 kB / 0.7376 GB, free: 5.215 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002182/0.6063, allocations: 2.165 MB / 0.7397 GB, free: 3.051 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6063, allocations: 0 / 0.7397 GB, free: 3.051 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003285/0.6096, allocations: 1.453 MB / 0.7411 GB, free: 1.598 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.00042/0.61, allocations: 258.4 kB / 0.7414 GB, free: 1.336 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.006931/0.617, allocations: 6.278 MB / 0.7475 GB, free: 11.02 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.617, allocations: 0 / 0.7475 GB, free: 11.02 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003135/0.6201, allocations: 2.912 MB / 0.7503 GB, free: 8.074 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.6221, allocations: 0.7219 MB / 0.751 GB, free: 7.371 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1443/0.7664, 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.002779/0.7692, allocations: 4.383 MB / 0.7687 GB, free: 175 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.7702, allocations: 399.9 kB / 0.7691 GB, free: 175 MB / 0.4949 GB Notification: Performance of SimCode: time 1.072e-06/0.7702, allocations: 0 / 0.7691 GB, free: 175 MB / 0.4949 GB Notification: Performance of Templates: time 0.0781/0.8483, allocations: 135.4 MB / 0.9012 GB, free: 47.7 MB / 0.4949 GB " [Timeout remaining time 659] 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: 9.358424135483801] Failed to read output from testmodel.py, exit status != 0: 0.8532643457874656 0.859093672 0.7656365150000001 Calling exit ...