Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.001361/0.001361, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.475/1.475, allocations: 230.6 MB / 253.4 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.001679/0.001679, allocations: 213.8 kB / 310 MB, free: 3.055 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.04177/0.04177, allocations: 8.929 MB / 375.3 MB, free: 6.547 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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [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.002496/0.002496, allocations: 91.88 kB / 0.4904 GB, free: 44.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08889, allocations: 55.61 MB / 0.5447 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.2456/0.3345, allocations: 21.97 MB / 0.5662 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.3495, allocations: 7.769 MB / 0.5738 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005858/0.3553, allocations: 204.2 kB / 0.5739 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01427/0.3696, allocations: 5.717 MB / 0.5795 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009414/0.379, allocations: 2.776 MB / 0.5822 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005398/0.3844, allocations: 1.604 MB / 0.5838 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.3952, allocations: 7.391 MB / 0.591 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01516/0.4103, allocations: 8.987 MB / 0.5998 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008208/0.4185, allocations: 3.844 MB / 0.6036 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009077/0.4276, allocations: 4.039 MB / 0.6075 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003525/0.4312, allocations: 1.07 MB / 0.6085 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005657/0.4368, allocations: 1.445 MB / 0.61 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004337/0.4411, allocations: 2.149 MB / 0.6121 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007502/0.4486, allocations: 3.205 MB / 0.6152 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02014/0.4688, allocations: 14.55 MB / 0.6294 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4688, allocations: 8 kB / 0.6294 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4688, allocations: 0 / 0.6294 GB, free: 6.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004051/0.4692, allocations: 0 / 0.6294 GB, free: 6.57 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.02833/0.4975, allocations: 8.885 MB / 0.6381 GB, free: 13.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4976, allocations: 11.98 kB / 0.6381 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0258/0.5234, allocations: 4.417 MB / 0.6424 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.5345, allocations: 4.621 MB / 0.6469 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005086/0.5351, allocations: 489 kB / 0.6474 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/0.5374, allocations: 0.6249 MB / 0.648 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/0.5622, allocations: 10.48 MB / 0.6582 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003177/0.5625, allocations: 11.89 kB / 0.6582 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001818/0.5643, allocations: 264 kB / 0.6585 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/0.5649, allocations: 417.7 kB / 0.6589 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/0.5882, allocations: 9.853 MB / 0.6685 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06412/0.6523, allocations: 29.69 MB / 0.6975 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/0.6674, allocations: 6.689 MB / 0.704 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004/0.6714, allocations: 2.106 MB / 0.7061 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/0.6718, allocations: 78.27 kB / 0.7062 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/0.6718, allocations: 60.89 kB / 0.7062 GB, free: 7.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 6.051e-06/0.6718, allocations: 0 / 0.7062 GB, free: 7.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.0232/0.695, allocations: 10.8 MB / 0.7168 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.6951, allocations: 85.72 kB / 0.7169 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004686/0.6998, allocations: 2.892 MB / 0.7197 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004463/0.7002, allocations: 73.7 kB / 0.7198 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.7027, allocations: 2.977 MB / 0.7227 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.704, allocations: 1.081 MB / 0.7237 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.7055, allocations: 0.9255 MB / 0.7246 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7056, allocations: 301.1 kB / 0.7249 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.7091, allocations: 2.031 MB / 0.7269 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005361/0.7145, allocations: 3.749 MB / 0.7306 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009619/0.7241, allocations: 6.058 MB / 0.7365 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.848e-05/0.7242, allocations: 16 kB / 0.7365 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01347/0.7377, allocations: 6.624 MB / 0.743 GB, free: 92 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.7377, allocations: 32 kB / 0.743 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.075e-05/0.7378, allocations: 52 kB / 0.743 GB, free: 8 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.7397, allocations: 0.6761 MB / 0.7437 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004131/0.7438, allocations: 1.072 MB / 0.7447 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009653/0.7535, allocations: 6.007 MB / 0.7506 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/0.7572, allocations: 271.7 kB / 0.7509 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008342/0.758, allocations: 232 kB / 0.7511 GB, free: 7.645 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.004649/0.7627, allocations: 2.319 MB / 0.7534 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/0.7636, allocations: 314 kB / 0.7537 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008487/0.772, allocations: 4.604 MB / 0.7581 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-05/0.7721, allocations: 39.94 kB / 0.7582 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.7721, allocations: 4 kB / 0.7582 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/0.7721, allocations: 15.94 kB / 0.7582 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/0.7916, allocations: 9.554 MB / 0.7675 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.7916, allocations: 4 kB / 0.7675 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/0.7938, allocations: 0.5305 MB / 0.7681 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/0.7954, allocations: 0.5593 MB / 0.7686 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/0.7957, allocations: 71.97 kB / 0.7687 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008102/0.8038, allocations: 5.231 MB / 0.7738 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.8038, allocations: 8 kB / 0.7738 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2426/1.046, allocations: 6.564 MB / 0.7802 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.048, allocations: 0.6327 MB / 0.7808 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006497/1.049, allocations: 63.52 kB / 0.7809 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.051, allocations: 144.6 kB / 0.781 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004555/1.051, allocations: 220.5 kB / 0.7812 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/1.051, allocations: 93.81 kB / 0.7813 GB, free: 167.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003097/1.055, allocations: 1.84 MB / 0.7831 GB, free: 167 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.055, allocations: 0 / 0.7831 GB, free: 167 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005145/1.06, allocations: 1.171 MB / 0.7843 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.0007315/1.06, allocations: 228.8 kB / 0.7845 GB, free: 166.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009145/1.07, allocations: 4.835 MB / 0.7892 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.07, allocations: 1.688 kB / 0.7892 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004362/1.074, allocations: 2.117 MB / 0.7913 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/1.077, allocations: 0.5762 MB / 0.7918 GB, free: 163.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.098, allocations: 11.06 MB / 0.8026 GB, free: 158.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003746/1.102, allocations: 3.536 MB / 0.8061 GB, free: 157.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.103, allocations: 326.1 kB / 0.8064 GB, free: 157.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/1.103, allocations: 0 / 0.8064 GB, free: 157.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1131/1.216, allocations: 109.2 MB / 0.913 GB, free: 58.69 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.71951951412484] Failed to read output from testmodel.py, exit status != 0: 1.224465973675251 1.234346505 0.762950314 Calling exit ...