Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 110.4 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 198.5 kB / 295.1 MB, free: 12.67 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03841/0.03841, allocations: 8.78 MB / 356 MB, free: 15.93 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 83.86 kB / 473.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2186, allocations: 51.56 MB / 0.5126 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.02673/0.2454, allocations: 25.43 MB / 0.5374 GB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2601, allocations: 7.944 MB / 0.5452 GB, free: 11.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/0.2641, allocations: 171.5 kB / 0.5453 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01662/0.2808, allocations: 7.646 MB / 0.5528 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00892/0.2897, allocations: 3.057 MB / 0.5558 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005418/0.2952, allocations: 1.999 MB / 0.5577 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01225/0.3074, allocations: 9.233 MB / 0.5668 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02236/0.3298, allocations: 17.26 MB / 0.5836 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006571/0.3364, allocations: 4.745 MB / 0.5883 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007472/0.3439, allocations: 5.24 MB / 0.5934 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002507/0.3465, allocations: 1.352 MB / 0.5947 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003608/0.3501, allocations: 1.722 MB / 0.5964 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002596/0.3527, allocations: 2.661 MB / 0.599 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006164/0.3589, allocations: 5.09 MB / 0.6039 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02005/0.3789, allocations: 18.2 MB / 0.6217 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.379, allocations: 0 / 0.6217 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.379, allocations: 0 / 0.6217 GB, free: 12.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003437/0.3793, allocations: 0 / 0.6217 GB, free: 12.88 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.02848/0.4078, allocations: 10.94 MB / 0.6324 GB, free: 1.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4079, allocations: 12.03 kB / 0.6324 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03042/0.4383, allocations: 5.711 MB / 0.638 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.4496, allocations: 5.822 MB / 0.6437 GB, free: 6.215 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005419/0.4502, allocations: 0.578 MB / 0.6442 GB, free: 5.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/0.4527, allocations: 0.7577 MB / 0.645 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/0.4778, allocations: 12.76 MB / 0.6574 GB, free: 8.059 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/0.478, allocations: 11.95 kB / 0.6575 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.4791, allocations: 324 kB / 0.6578 GB, free: 7.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005431/0.4797, allocations: 0.4967 MB / 0.6582 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3501/0.8298, allocations: 12.25 MB / 0.6702 GB, free: 119.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0481/0.8779, allocations: 43.36 MB / 0.7126 GB, free: 88.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/0.8931, allocations: 25.17 MB / 0.7371 GB, free: 59.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/0.8967, allocations: 2.967 MB / 0.74 GB, free: 57.01 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.897, allocations: 240.3 kB / 0.7403 GB, free: 56.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002628/0.8996, allocations: 2.586 MB / 0.7428 GB, free: 54.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 4.839e-06/0.8996, allocations: 0 / 0.7428 GB, free: 54.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.02781/0.9275, allocations: 18.42 MB / 0.7608 GB, free: 35.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.9276, allocations: 359.4 kB / 0.7611 GB, free: 35.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.9312, allocations: 3.529 MB / 0.7646 GB, free: 31.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002951/0.9315, allocations: 89.7 kB / 0.7646 GB, free: 31.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.9327, allocations: 3.488 MB / 0.7681 GB, free: 28.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007289/0.9335, allocations: 1.415 MB / 0.7694 GB, free: 27.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.9347, allocations: 1.093 MB / 0.7705 GB, free: 26.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.543e-05/0.9347, allocations: 301.1 kB / 0.7708 GB, free: 25.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/0.9375, allocations: 2.549 MB / 0.7733 GB, free: 23.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.9408, allocations: 4.517 MB / 0.7777 GB, free: 17.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/0.9476, allocations: 7.443 MB / 0.785 GB, free: 9.492 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.969e-05/0.9477, allocations: 16 kB / 0.785 GB, free: 9.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01089/0.9586, allocations: 8.294 MB / 0.7931 GB, free: 1.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.9587, allocations: 57.69 kB / 0.7931 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.847e-05/0.9588, allocations: 64 kB / 0.7932 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/0.9611, allocations: 1.006 MB / 0.7942 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00447/0.9656, allocations: 1.256 MB / 0.7954 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.9789, allocations: 8.826 MB / 0.804 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/0.9831, allocations: 355.5 kB / 0.8044 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007772/0.9839, allocations: 268 kB / 0.8046 GB, free: 5.195 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.004829/0.9887, allocations: 2.906 MB / 0.8075 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008919/0.9896, allocations: 409.4 kB / 0.8078 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1, allocations: 6.172 MB / 0.8139 GB, free: 11.64 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/1, allocations: 40 kB / 0.8139 GB, free: 11.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/1, allocations: 15.94 kB / 0.8139 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-05/1.001, allocations: 23.92 kB / 0.8139 GB, free: 11.56 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/1.025, allocations: 14.64 MB / 0.8282 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.025, allocations: 8.594 kB / 0.8283 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/1.028, allocations: 0.6826 MB / 0.8289 GB, free: 12.15 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/1.03, allocations: 0.873 MB / 0.8298 GB, free: 11.28 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000419/1.031, allocations: 95.97 kB / 0.8299 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/1.042, allocations: 7.748 MB / 0.8374 GB, free: 3.297 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.042, allocations: 11.94 kB / 0.8374 GB, free: 3.285 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/1.057, allocations: 8.789 MB / 0.846 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/1.059, allocations: 0.9317 MB / 0.8469 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000598/1.059, allocations: 80 kB / 0.847 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.061, allocations: 191.8 kB / 0.8472 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/1.062, allocations: 275.1 kB / 0.8475 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.062, allocations: 116 kB / 0.8476 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003519/1.065, allocations: 2.367 MB / 0.8499 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.065, allocations: 0 / 0.8499 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004345/1.07, allocations: 1.449 MB / 0.8513 GB, free: 4.953 MB / 0.5294 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.0005185/1.07, allocations: 262 kB / 0.8515 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.081, allocations: 6.49 MB / 0.8579 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.081, allocations: 0 / 0.8579 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005175/1.086, allocations: 3.083 MB / 0.8609 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.09, allocations: 0.8208 MB / 0.8617 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2042/1.294, allocations: 13.75 MB / 0.8751 GB, free: 185.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003666/1.298, allocations: 4.86 MB / 0.8799 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.299, allocations: 374.7 kB / 0.8802 GB, free: 184.8 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/1.299, allocations: 0 / 0.8802 GB, free: 184.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1097/1.409, allocations: 132.3 MB / 1.009 GB, free: 68.93 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.85044657299295] Failed to read output from testmodel.py, exit status != 0: 1.4142892500385642 1.422538562 1.041898278 Calling exit ...