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.001517/0.001517, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.572/1.572, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001531/0.001531, allocations: 213.7 kB / 309.2 MB, free: 3.129 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.04336/0.04336, allocations: 8.915 MB / 374.6 MB, free: 6.641 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.002716/0.002716, allocations: 83.86 kB / 0.4897 GB, free: 44.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08206/0.08478, allocations: 55.6 MB / 0.544 GB, free: 4.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.2491/0.3338, allocations: 21.97 MB / 0.5654 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.3524, allocations: 7.771 MB / 0.573 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006379/0.3588, allocations: 202.8 kB / 0.5732 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01458/0.3734, allocations: 5.719 MB / 0.5788 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009394/0.3828, allocations: 2.778 MB / 0.5815 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005219/0.388, allocations: 1.603 MB / 0.5831 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.3985, allocations: 7.391 MB / 0.5903 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02004/0.4185, allocations: 8.99 MB / 0.5991 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009475/0.428, allocations: 3.848 MB / 0.6028 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.4384, allocations: 4.033 MB / 0.6068 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003358/0.4417, allocations: 1.07 MB / 0.6078 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005444/0.4472, allocations: 1.443 MB / 0.6092 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004234/0.4514, allocations: 2.152 MB / 0.6113 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008147/0.4595, allocations: 3.21 MB / 0.6144 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02084/0.4804, allocations: 14.56 MB / 0.6287 GB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4804, allocations: 0 / 0.6287 GB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4804, allocations: 0 / 0.6287 GB, free: 6.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004273/0.4808, allocations: 0 / 0.6287 GB, free: 6.656 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.03055/0.5114, allocations: 8.877 MB / 0.6373 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5114, allocations: 19.98 kB / 0.6374 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02692/0.5383, allocations: 4.413 MB / 0.6417 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.5495, allocations: 4.629 MB / 0.6462 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005291/0.55, allocations: 485.1 kB / 0.6466 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002532/0.5525, allocations: 0.6249 MB / 0.6473 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02707/0.5796, allocations: 10.48 MB / 0.6575 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.5798, allocations: 15.89 kB / 0.6575 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002065/0.5819, allocations: 268 kB / 0.6578 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006054/0.5825, allocations: 420.4 kB / 0.6582 GB, free: 8.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02439/0.6069, allocations: 9.849 MB / 0.6678 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06832/0.6752, allocations: 29.69 MB / 0.6968 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/0.6913, allocations: 6.689 MB / 0.7033 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004584/0.6958, allocations: 2.118 MB / 0.7054 GB, free: 7.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.6963, allocations: 74.27 kB / 0.7054 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.463e-05/0.6964, allocations: 68.88 kB / 0.7055 GB, free: 7.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 8.125e-06/0.6964, allocations: 0 / 0.7055 GB, free: 7.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02749/0.7239, allocations: 10.79 MB / 0.716 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.724, allocations: 89.72 kB / 0.7161 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00613/0.7301, allocations: 2.888 MB / 0.7189 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005961/0.7307, allocations: 73.7 kB / 0.719 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003113/0.7338, allocations: 2.969 MB / 0.7219 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001865/0.7357, allocations: 1.085 MB / 0.723 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002907/0.7386, allocations: 0.9294 MB / 0.7239 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7387, allocations: 301.1 kB / 0.7242 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004252/0.743, allocations: 2.031 MB / 0.7262 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006412/0.7494, allocations: 3.753 MB / 0.7298 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.7605, allocations: 6.055 MB / 0.7357 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.829e-05/0.7605, allocations: 16 kB / 0.7357 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01616/0.7767, allocations: 6.628 MB / 0.7422 GB, free: 168 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.7768, allocations: 29.88 kB / 0.7423 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.7769, allocations: 60.22 kB / 0.7423 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/0.7791, allocations: 0.6564 MB / 0.7429 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004731/0.7838, allocations: 1.076 MB / 0.744 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.7946, allocations: 5.999 MB / 0.7499 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/0.7989, allocations: 271.7 kB / 0.7501 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/0.8, allocations: 232 kB / 0.7503 GB, free: 7.738 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.005658/0.8056, allocations: 2.327 MB / 0.7526 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/0.8069, allocations: 314 kB / 0.7529 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.8173, allocations: 4.612 MB / 0.7574 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/0.8173, allocations: 31.94 kB / 0.7574 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/0.8173, allocations: 8 kB / 0.7575 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-05/0.8173, allocations: 15.94 kB / 0.7575 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02462/0.842, allocations: 9.538 MB / 0.7668 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/0.842, allocations: 8 kB / 0.7668 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/0.8444, allocations: 0.5344 MB / 0.7673 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.8462, allocations: 0.5675 MB / 0.7679 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003685/0.8466, allocations: 67.97 kB / 0.7679 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009023/0.8556, allocations: 5.231 MB / 0.773 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.8556, allocations: 4 kB / 0.773 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2352/1.091, allocations: 6.566 MB / 0.7795 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/1.093, allocations: 0.6319 MB / 0.7801 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008171/1.094, allocations: 66.59 kB / 0.7801 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.096, allocations: 144 kB / 0.7803 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/1.096, allocations: 222.1 kB / 0.7805 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.096, allocations: 88.58 kB / 0.7806 GB, free: 167.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002739/1.099, allocations: 1.843 MB / 0.7824 GB, free: 166.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.099, allocations: 1.188 kB / 0.7824 GB, free: 166.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00439/1.103, allocations: 1.173 MB / 0.7835 GB, free: 166.8 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.0005496/1.104, allocations: 232.2 kB / 0.7837 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008215/1.112, allocations: 4.832 MB / 0.7885 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.112, allocations: 1.312 kB / 0.7885 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003478/1.116, allocations: 2.119 MB / 0.7905 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/1.118, allocations: 0.5674 MB / 0.7911 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.136, allocations: 11.19 MB / 0.802 GB, free: 158.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00336/1.139, allocations: 3.649 MB / 0.8056 GB, free: 157.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003086/1.143, allocations: 1.294 MB / 0.8068 GB, free: 157.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/1.143, allocations: 283.6 kB / 0.8071 GB, free: 157.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/1.143, allocations: 0 / 0.8071 GB, free: 157.3 MB / 0.545 GB Notification: Performance of Templates: time 0.06928/1.213, allocations: 49.74 MB / 0.8557 GB, free: 117 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.470794728025794] Failed to read output from testmodel.py, exit status != 0: 1.2210983131080866 1.231397812 0.748388179 Calling exit ...