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.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.00131/0.00131, allocations: 117.6 kB / 17.13 MB, free: 5.758 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.467/1.467, allocations: 225.6 MB / 245.5 MB, free: 14.17 MB / 206.1 MB " [Timeout remaining time 178] 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.001589/0.001589, allocations: 195.3 kB / 300.5 MB, free: 9.855 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.04421/0.04421, allocations: 8.932 MB / 364.3 MB, free: 10.2 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_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: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 81.91 kB / 487.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.09003, allocations: 54.41 MB / 0.529 GB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.03039/0.1204, allocations: 25.53 MB / 0.5539 GB, free: 7.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.1369, allocations: 8.045 MB / 0.5618 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.1407, allocations: 175.5 kB / 0.5619 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01543/0.1562, allocations: 6.157 MB / 0.568 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008941/0.1651, allocations: 2.801 MB / 0.5707 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004932/0.17, allocations: 1.636 MB / 0.5723 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.1812, allocations: 7.27 MB / 0.5794 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01643/0.1977, allocations: 10.12 MB / 0.5893 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.2036, allocations: 3.748 MB / 0.5929 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00731/0.2109, allocations: 4.275 MB / 0.5971 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002533/0.2135, allocations: 1.074 MB / 0.5982 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00383/0.2173, allocations: 1.429 MB / 0.5996 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002532/0.2198, allocations: 2.151 MB / 0.6017 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006315/0.2262, allocations: 4.113 MB / 0.6057 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.2446, allocations: 14.48 MB / 0.6198 GB, free: 3.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2446, allocations: 0 / 0.6198 GB, free: 3.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2446, allocations: 0 / 0.6198 GB, free: 3.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003044/0.2449, allocations: 0 / 0.6198 GB, free: 3.418 MB / 430.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.02723/0.2722, allocations: 8.933 MB / 0.6285 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2722, allocations: 8.031 kB / 0.6285 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/0.2998, allocations: 4.44 MB / 0.6329 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.3103, allocations: 4.622 MB / 0.6374 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/0.3109, allocations: 489.1 kB / 0.6379 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/0.3133, allocations: 0.6288 MB / 0.6385 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2273/0.5405, allocations: 10.35 MB / 0.6486 GB, free: 83.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002329/0.5407, allocations: 8.922 kB / 0.6486 GB, free: 83.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/0.5419, allocations: 271.7 kB / 0.6488 GB, free: 83.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003381/0.5422, allocations: 421.9 kB / 0.6492 GB, free: 83.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.5577, allocations: 9.866 MB / 0.6589 GB, free: 78.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04683/0.6046, allocations: 35.39 MB / 0.6934 GB, free: 44.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/0.6189, allocations: 20.39 MB / 0.7134 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.622, allocations: 2.117 MB / 0.7154 GB, free: 19.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.6223, allocations: 231.4 kB / 0.7156 GB, free: 19.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.6224, allocations: 68.83 kB / 0.7157 GB, free: 19.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 5.119e-06/0.6224, allocations: 0 / 0.7157 GB, free: 19.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.01955/0.6419, allocations: 10.93 MB / 0.7264 GB, free: 8.496 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.6419, allocations: 81.78 kB / 0.7265 GB, free: 8.402 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004319/0.6463, allocations: 3.022 MB / 0.7294 GB, free: 5.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003915/0.6467, allocations: 81.7 kB / 0.7295 GB, free: 5.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.6479, allocations: 2.963 MB / 0.7324 GB, free: 2.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008575/0.6488, allocations: 1.08 MB / 0.7334 GB, free: 1.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/0.6502, allocations: 0.9177 MB / 0.7343 GB, free: 496 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.6503, allocations: 305.1 kB / 0.7346 GB, free: 188 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/0.6538, allocations: 2.024 MB / 0.7366 GB, free: 14.15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005223/0.659, allocations: 3.724 MB / 0.7402 GB, free: 9.637 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009445/0.6685, allocations: 6.047 MB / 0.7461 GB, free: 2.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.194e-05/0.6685, allocations: 20 kB / 0.7462 GB, free: 2.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01389/0.6824, allocations: 6.627 MB / 0.7526 GB, free: 12.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.6825, allocations: 28 kB / 0.7527 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/0.6826, allocations: 56 kB / 0.7527 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002157/0.6847, allocations: 0.6642 MB / 0.7534 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/0.6891, allocations: 1.072 MB / 0.7544 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.6999, allocations: 6.213 MB / 0.7605 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/0.7038, allocations: 283.6 kB / 0.7607 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007816/0.7046, allocations: 231.9 kB / 0.761 GB, free: 3.422 MB / 478.1 MB 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.005036/0.7096, allocations: 2.319 MB / 0.7632 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/0.7107, allocations: 329.9 kB / 0.7635 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/0.7208, allocations: 4.627 MB / 0.7681 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-05/0.7208, allocations: 28 kB / 0.7681 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/0.7209, allocations: 11.98 kB / 0.7681 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-05/0.7209, allocations: 19.89 kB / 0.7681 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/0.7454, allocations: 11.07 MB / 0.7789 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.7454, allocations: 8 kB / 0.7789 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/0.7479, allocations: 0.5266 MB / 0.7794 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/0.7499, allocations: 0.5783 MB / 0.78 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003846/0.7502, allocations: 63.98 kB / 0.7801 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009175/0.7594, allocations: 5.475 MB / 0.7854 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.7594, allocations: 4 kB / 0.7854 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.7719, allocations: 6.573 MB / 0.7918 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/0.7738, allocations: 0.7408 MB / 0.7926 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008253/0.7746, allocations: 60.06 kB / 0.7926 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.7768, allocations: 155.7 kB / 0.7928 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005355/0.7773, allocations: 206 kB / 0.793 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/0.7775, allocations: 95.98 kB / 0.7931 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004053/0.7816, allocations: 2.016 MB / 0.795 GB, free: 44 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7816, allocations: 0 / 0.795 GB, free: 44 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005034/0.7866, allocations: 1.172 MB / 0.7962 GB, free: 14.87 MB / 0.5137 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.0006957/0.7873, allocations: 223.6 kB / 0.7964 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009697/0.797, allocations: 4.828 MB / 0.8011 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.797, allocations: 4.062 kB / 0.8011 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004437/0.8014, allocations: 2.101 MB / 0.8032 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/0.8055, allocations: 0.6364 MB / 0.8038 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/0.8284, allocations: 11.03 MB / 0.8145 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006484/0.8349, allocations: 4.036 MB / 0.8185 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/0.8364, allocations: 311.4 kB / 0.8188 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of SimCode: time 1.452e-06/0.8364, allocations: 4 kB / 0.8188 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of Templates: time 0.3325/1.169, allocations: 107.1 MB / 0.9234 GB, free: 146.7 MB / 0.5606 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.06779888109304] Failed to read output from testmodel.py, exit status != 0: 1.3266631599981338 1.186292162 0.939302266 Calling exit ...