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.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.001597/0.001597, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.478/1.478, allocations: 225.6 MB / 246.2 MB, free: 13.58 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.001569/0.001569, allocations: 186.9 kB / 301.4 MB, free: 9.07 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.0418/0.0418, allocations: 8.92 MB / 365.5 MB, free: 9.199 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_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: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 85.28 kB / 489.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1075, allocations: 54.41 MB / 0.5311 GB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02913/0.1366, allocations: 25.59 MB / 0.5561 GB, free: 4.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.1546, allocations: 8.068 MB / 0.5639 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005653/0.1602, allocations: 167.6 kB / 0.5641 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01637/0.1766, allocations: 6.165 MB / 0.5701 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009924/0.1865, allocations: 2.794 MB / 0.5729 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005176/0.1917, allocations: 1.633 MB / 0.5744 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.2026, allocations: 7.288 MB / 0.5816 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01515/0.2177, allocations: 8.468 MB / 0.5898 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006528/0.2243, allocations: 3.748 MB / 0.5935 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00742/0.2317, allocations: 4.282 MB / 0.5977 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003165/0.2348, allocations: 1.074 MB / 0.5987 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005168/0.24, allocations: 1.433 MB / 0.6001 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003916/0.2439, allocations: 2.155 MB / 0.6022 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008763/0.2527, allocations: 4.109 MB / 0.6062 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02098/0.2737, allocations: 14.48 MB / 0.6204 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2737, allocations: 0 / 0.6204 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2737, allocations: 0 / 0.6204 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000351/0.274, allocations: 0 / 0.6204 GB, free: 2.754 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.0284/0.3024, allocations: 8.937 MB / 0.6291 GB, free: 9.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3025, allocations: 12.03 kB / 0.6291 GB, free: 9.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02663/0.3291, allocations: 4.436 MB / 0.6335 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.3406, allocations: 4.63 MB / 0.638 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005809/0.3412, allocations: 489.1 kB / 0.6384 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2645/0.6058, allocations: 0.6234 MB / 0.639 GB, free: 86.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03446/0.6402, allocations: 10.35 MB / 0.6492 GB, free: 82.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006167/0.6408, allocations: 8.781 kB / 0.6492 GB, free: 82.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004018/0.6449, allocations: 267.7 kB / 0.6494 GB, free: 82.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005796/0.6454, allocations: 419.7 kB / 0.6498 GB, free: 82.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02629/0.6717, allocations: 9.867 MB / 0.6595 GB, free: 78.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06099/0.7327, allocations: 35.39 MB / 0.694 GB, free: 44.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01493/0.7477, allocations: 20.39 MB / 0.7139 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003362/0.751, allocations: 2.108 MB / 0.716 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003962/0.7514, allocations: 224.6 kB / 0.7162 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.7515, allocations: 71.77 kB / 0.7163 GB, free: 18.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 5.38e-06/0.7515, allocations: 0 / 0.7163 GB, free: 18.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.02121/0.7727, allocations: 10.93 MB / 0.7269 GB, free: 7.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.7727, allocations: 81.78 kB / 0.727 GB, free: 7.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005272/0.778, allocations: 3.029 MB / 0.73 GB, free: 4.746 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004188/0.7784, allocations: 85.58 kB / 0.7301 GB, free: 4.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.78, allocations: 2.96 MB / 0.733 GB, free: 1.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009455/0.7809, allocations: 1.083 MB / 0.734 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/0.7827, allocations: 0.9108 MB / 0.7349 GB, free: 15.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.7828, allocations: 309.1 kB / 0.7352 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/0.7865, allocations: 2.027 MB / 0.7372 GB, free: 13.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005417/0.7919, allocations: 3.724 MB / 0.7408 GB, free: 8.973 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009245/0.8012, allocations: 6.047 MB / 0.7467 GB, free: 2.129 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-05/0.8012, allocations: 16 kB / 0.7467 GB, free: 2.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0134/0.8146, allocations: 6.628 MB / 0.7532 GB, free: 11.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.8147, allocations: 28 kB / 0.7532 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.8148, allocations: 56 kB / 0.7533 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.8167, allocations: 0.6683 MB / 0.7539 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004322/0.8211, allocations: 1.061 MB / 0.755 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.8311, allocations: 6.24 MB / 0.7611 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/0.8354, allocations: 287.5 kB / 0.7613 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/0.8365, allocations: 224 kB / 0.7616 GB, free: 2.746 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.005872/0.8424, allocations: 2.315 MB / 0.7638 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/0.8436, allocations: 329.9 kB / 0.7641 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008882/0.8524, allocations: 4.622 MB / 0.7686 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/0.8525, allocations: 32 kB / 0.7687 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.8525, allocations: 11.94 kB / 0.7687 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/0.8525, allocations: 15.94 kB / 0.7687 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02327/0.8758, allocations: 11.07 MB / 0.7795 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/0.8758, allocations: 7.938 kB / 0.7795 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/0.8782, allocations: 0.5389 MB / 0.78 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.88, allocations: 0.5701 MB / 0.7806 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004198/0.8804, allocations: 63.98 kB / 0.7807 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008254/0.8887, allocations: 5.462 MB / 0.786 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.8887, allocations: 7.938 kB / 0.786 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.9001, allocations: 6.577 MB / 0.7924 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/0.9027, allocations: 0.7369 MB / 0.7931 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009511/0.9036, allocations: 63.94 kB / 0.7932 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.9054, allocations: 147.8 kB / 0.7933 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004719/0.9059, allocations: 214 kB / 0.7936 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.9061, allocations: 87.98 kB / 0.7936 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00357/0.9097, allocations: 2.016 MB / 0.7956 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9097, allocations: 0 / 0.7956 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005315/0.915, allocations: 1.172 MB / 0.7967 GB, free: 14.21 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.0006324/0.9156, allocations: 230.3 kB / 0.797 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009246/0.9249, allocations: 4.822 MB / 0.8017 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.9249, allocations: 4 kB / 0.8017 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004434/0.9293, allocations: 2.106 MB / 0.8037 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/0.9333, allocations: 0.6494 MB / 0.8044 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/0.9564, allocations: 11.23 MB / 0.8153 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005714/0.9621, allocations: 4.15 MB / 0.8194 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004293/0.9664, allocations: 1.326 MB / 0.8207 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.9675, allocations: 275.4 kB / 0.821 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of SimCode: time 1.733e-06/0.9675, allocations: 0 / 0.821 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of Templates: time 0.3309/1.298, allocations: 47.34 MB / 0.8672 GB, free: 171.5 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: 7.53596465010196]