Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.00154/0.00154, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.463/1.463, allocations: 230.6 MB / 253.4 MB, free: 14.66 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.001543/0.001543, allocations: 211 kB / 310 MB, free: 3.109 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.04053/0.04053, allocations: 8.911 MB / 375.3 MB, free: 6.809 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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") [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.00238/0.00238, allocations: 91.81 kB / 0.4905 GB, free: 44.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09365/0.09603, allocations: 55.61 MB / 0.5448 GB, free: 4.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2896/0.3857, allocations: 25.64 MB / 0.5698 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.404, allocations: 8.156 MB / 0.5778 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007483/0.4115, allocations: 200.4 kB / 0.578 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01575/0.4273, allocations: 6.202 MB / 0.584 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.4379, allocations: 2.867 MB / 0.5868 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00565/0.4436, allocations: 1.683 MB / 0.5885 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01308/0.4567, allocations: 7.39 MB / 0.5957 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01872/0.4754, allocations: 9.127 MB / 0.6046 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.4854, allocations: 3.848 MB / 0.6084 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009872/0.4953, allocations: 4.299 MB / 0.6126 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003451/0.4987, allocations: 1.074 MB / 0.6136 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006501/0.5052, allocations: 1.465 MB / 0.615 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004163/0.5094, allocations: 2.159 MB / 0.6171 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01028/0.5197, allocations: 4.109 MB / 0.6212 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02292/0.5426, allocations: 14.5 MB / 0.6353 GB, free: 2.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/0.5426, allocations: 3.984 kB / 0.6353 GB, free: 2.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5426, allocations: 4 kB / 0.6353 GB, free: 2.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004794/0.5431, allocations: 0 / 0.6353 GB, free: 2.078 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.03041/0.5735, allocations: 8.896 MB / 0.644 GB, free: 9.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5735, allocations: 11.98 kB / 0.644 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02587/0.5994, allocations: 4.414 MB / 0.6483 GB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/0.6115, allocations: 4.625 MB / 0.6528 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005628/0.6121, allocations: 489.1 kB / 0.6533 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003127/0.6152, allocations: 0.6288 MB / 0.6539 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02961/0.6448, allocations: 10.38 MB / 0.6641 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002302/0.645, allocations: 14.84 kB / 0.6641 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/0.6466, allocations: 268 kB / 0.6643 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004955/0.6471, allocations: 409.7 kB / 0.6647 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/0.6713, allocations: 9.899 MB / 0.6744 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06707/0.7384, allocations: 33.52 MB / 0.7071 GB, free: 7.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/0.7531, allocations: 6.787 MB / 0.7138 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00419/0.7573, allocations: 2.11 MB / 0.7158 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.7576, allocations: 94.11 kB / 0.7159 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.804e-05/0.7577, allocations: 60.89 kB / 0.716 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.919e-06/0.7577, allocations: 4 kB / 0.716 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.0246/0.7823, allocations: 10.81 MB / 0.7265 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.7824, allocations: 85.72 kB / 0.7266 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005648/0.788, allocations: 3.026 MB / 0.7296 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006158/0.7887, allocations: 77.7 kB / 0.7296 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002684/0.7913, allocations: 2.974 MB / 0.7325 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001649/0.793, allocations: 1.081 MB / 0.7336 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/0.7947, allocations: 0.9177 MB / 0.7345 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7949, allocations: 309.1 kB / 0.7348 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/0.7984, allocations: 2.027 MB / 0.7368 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/0.8037, allocations: 3.728 MB / 0.7404 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009463/0.8131, allocations: 6.058 MB / 0.7463 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-05/0.8132, allocations: 20 kB / 0.7463 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01907/0.8322, allocations: 6.636 MB / 0.7528 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.8324, allocations: 36.02 kB / 0.7529 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001993/0.8326, allocations: 59.94 kB / 0.7529 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/0.8356, allocations: 0.6641 MB / 0.7536 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006455/0.8421, allocations: 1.076 MB / 0.7546 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.857, allocations: 6.119 MB / 0.7606 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/0.8627, allocations: 279.6 kB / 0.7609 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/0.864, allocations: 232 kB / 0.7611 GB, free: 14.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006646/0.8706, allocations: 2.327 MB / 0.7634 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.8718, allocations: 333.9 kB / 0.7637 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009405/0.8812, allocations: 4.618 MB / 0.7682 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/0.8812, allocations: 28 kB / 0.7682 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.8812, allocations: 8 kB / 0.7682 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.8812, allocations: 15.94 kB / 0.7682 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3028/1.184, allocations: 11.11 MB / 0.7791 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.184, allocations: 4.688 kB / 0.7791 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/1.186, allocations: 0.5318 MB / 0.7796 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/1.188, allocations: 0.5674 MB / 0.7802 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002604/1.188, allocations: 70.7 kB / 0.7802 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/1.195, allocations: 5.35 MB / 0.7854 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.195, allocations: 5.859 kB / 0.7855 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.206, allocations: 6.596 MB / 0.7919 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/1.208, allocations: 0.6617 MB / 0.7925 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006247/1.209, allocations: 62.12 kB / 0.7926 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.211, allocations: 142.2 kB / 0.7927 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/1.211, allocations: 223 kB / 0.793 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.211, allocations: 89.98 kB / 0.793 GB, free: 160.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00357/1.215, allocations: 2.02 MB / 0.795 GB, free: 160.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.215, allocations: 0 / 0.795 GB, free: 160.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005067/1.22, allocations: 1.177 MB / 0.7962 GB, free: 160 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006038/1.221, allocations: 233.8 kB / 0.7964 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008524/1.229, allocations: 4.831 MB / 0.8011 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.229, allocations: 1.984 kB / 0.8011 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003989/1.233, allocations: 2.118 MB / 0.8032 GB, free: 157.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/1.237, allocations: 0.6544 MB / 0.8038 GB, free: 157 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.256, allocations: 11.09 MB / 0.8146 GB, free: 151.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/1.259, allocations: 4.039 MB / 0.8186 GB, free: 150.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.261, allocations: 332.3 kB / 0.8189 GB, free: 150.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/1.261, allocations: 3.875 kB / 0.8189 GB, free: 150.2 MB / 0.545 GB Notification: Performance of Templates: time 0.11/1.371, allocations: 108.5 MB / 0.9249 GB, free: 48.93 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.697285114787519] Failed to read output from testmodel.py, exit status != 0: 1.379324757028371 1.3893129450000001 0.844089811 Calling exit ...