Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.001445/0.001445, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.514/1.514, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001699/0.001699, allocations: 219.3 kB / 309.3 MB, free: 3.098 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.04074/0.04074, allocations: 8.929 MB / 374.7 MB, free: 6.531 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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [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.002556/0.002556, allocations: 84.3 kB / 0.4898 GB, free: 44.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1054, allocations: 55.62 MB / 0.5441 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.2538/0.3592, allocations: 21.97 MB / 0.5655 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.3754, allocations: 7.77 MB / 0.5731 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004773/0.3802, allocations: 204.2 kB / 0.5733 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01424/0.3945, allocations: 5.725 MB / 0.5789 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008743/0.4032, allocations: 2.77 MB / 0.5816 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004538/0.4077, allocations: 1.61 MB / 0.5832 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009696/0.4174, allocations: 7.398 MB / 0.5904 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.4321, allocations: 8.98 MB / 0.5992 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008296/0.4404, allocations: 3.843 MB / 0.6029 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008399/0.4488, allocations: 4.04 MB / 0.6069 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002693/0.4515, allocations: 1.073 MB / 0.6079 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005187/0.4567, allocations: 1.446 MB / 0.6093 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002738/0.4594, allocations: 2.15 MB / 0.6114 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006046/0.4654, allocations: 3.209 MB / 0.6146 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.4847, allocations: 14.55 MB / 0.6288 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4847, allocations: 0 / 0.6288 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4847, allocations: 0 / 0.6288 GB, free: 6.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003213/0.4851, allocations: 0 / 0.6288 GB, free: 6.578 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.02728/0.5123, allocations: 8.889 MB / 0.6375 GB, free: 13.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.5124, allocations: 11.98 kB / 0.6375 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02676/0.5392, allocations: 4.417 MB / 0.6418 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.5502, allocations: 4.625 MB / 0.6463 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/0.5507, allocations: 493 kB / 0.6468 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.5529, allocations: 0.6257 MB / 0.6474 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.575, allocations: 10.48 MB / 0.6576 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.5752, allocations: 11.95 kB / 0.6576 GB, free: 8.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007906/0.5759, allocations: 260 kB / 0.6579 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004803/0.5764, allocations: 417.7 kB / 0.6583 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0234/0.5998, allocations: 9.858 MB / 0.6679 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05773/0.6576, allocations: 29.7 MB / 0.6969 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/0.6722, allocations: 6.693 MB / 0.7034 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.6759, allocations: 2.114 MB / 0.7055 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/0.6762, allocations: 74.27 kB / 0.7056 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.519e-05/0.6763, allocations: 64.89 kB / 0.7056 GB, free: 7.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.24e-06/0.6763, allocations: 0 / 0.7056 GB, free: 7.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02292/0.6992, allocations: 10.79 MB / 0.7162 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.6993, allocations: 89.66 kB / 0.7163 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/0.7044, allocations: 2.888 MB / 0.7191 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.7046, allocations: 77.64 kB / 0.7192 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002361/0.707, allocations: 2.981 MB / 0.7221 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.7081, allocations: 1.085 MB / 0.7231 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.7097, allocations: 0.9216 MB / 0.724 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7098, allocations: 301.1 kB / 0.7243 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/0.7131, allocations: 2.035 MB / 0.7263 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004881/0.718, allocations: 3.753 MB / 0.73 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009571/0.7276, allocations: 6.055 MB / 0.7359 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.55e-05/0.7277, allocations: 16 kB / 0.7359 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0142/0.7419, allocations: 6.62 MB / 0.7424 GB, free: 68 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.7419, allocations: 31.94 kB / 0.7424 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000178/0.7421, allocations: 56.05 kB / 0.7424 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.7443, allocations: 0.6682 MB / 0.7431 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/0.7484, allocations: 1.076 MB / 0.7441 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00966/0.7581, allocations: 5.995 MB / 0.75 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/0.7619, allocations: 275.7 kB / 0.7503 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005851/0.7625, allocations: 231.9 kB / 0.7505 GB, free: 7.629 MB / 0.5294 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.004361/0.7668, allocations: 2.323 MB / 0.7528 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000829/0.7677, allocations: 318 kB / 0.7531 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/0.7767, allocations: 4.604 MB / 0.7576 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.7767, allocations: 31.94 kB / 0.7576 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.7768, allocations: 8 kB / 0.7576 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/0.7768, allocations: 15.94 kB / 0.7576 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/0.7982, allocations: 9.55 MB / 0.7669 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/0.7982, allocations: 4 kB / 0.7669 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/0.8006, allocations: 0.5343 MB / 0.7675 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.8024, allocations: 0.5595 MB / 0.768 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/0.8027, allocations: 75.97 kB / 0.7681 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008472/0.8112, allocations: 5.223 MB / 0.7732 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.8112, allocations: 11.94 kB / 0.7732 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2677/1.079, allocations: 6.561 MB / 0.7796 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/1.081, allocations: 0.6313 MB / 0.7802 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004984/1.081, allocations: 72.14 kB / 0.7803 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.083, allocations: 142.2 kB / 0.7804 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.083, allocations: 220.7 kB / 0.7806 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.083, allocations: 91.72 kB / 0.7807 GB, free: 167.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00288/1.086, allocations: 1.839 MB / 0.7825 GB, free: 167 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/1.086, allocations: 1.625 kB / 0.7825 GB, free: 167 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004788/1.091, allocations: 1.172 MB / 0.7837 GB, free: 166.9 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.000678/1.092, allocations: 230 kB / 0.7839 GB, free: 166.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008953/1.101, allocations: 4.834 MB / 0.7886 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.101, allocations: 0 / 0.7886 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003859/1.105, allocations: 2.116 MB / 0.7907 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/1.108, allocations: 0.5719 MB / 0.7912 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/1.132, allocations: 11.19 MB / 0.8022 GB, free: 158.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004109/1.136, allocations: 3.655 MB / 0.8057 GB, free: 157.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003375/1.139, allocations: 1.295 MB / 0.807 GB, free: 157.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007849/1.14, allocations: 281.1 kB / 0.8073 GB, free: 157.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/1.14, allocations: 0 / 0.8073 GB, free: 157.4 MB / 0.545 GB Notification: Performance of Templates: time 0.06948/1.21, allocations: 43.15 MB / 0.8494 GB, free: 123.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.385580211877823] Failed to read output from testmodel.py, exit status != 0: 1.2176841795444489 1.228082975 0.740747929 Calling exit ...