Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.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.001021/0.001021, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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 0.9528/0.9528, allocations: 177.2 MB / 201 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.00142/0.00142, allocations: 164.6 kB / 257.7 MB, free: 13 MB / 250.7 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.0252/0.0252, allocations: 6.663 MB / 320.9 MB, free: 11.46 MB / 298.7 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.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") translateModel(HanserModelica.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 392.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.573e-05, allocations: 6.312 kB / 392.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.01873/0.01875, allocations: 25.96 MB / 418.9 MB, free: 9.266 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.03238, allocations: 7.987 MB / 426.9 MB, free: 1.254 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.03617, allocations: 250.8 kB / 427.1 MB, free: 1.008 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008863/0.04504, allocations: 8.201 MB / 435.3 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005868/0.0509, allocations: 2.804 MB / 438.1 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.05345, allocations: 1.839 MB / 439.9 MB, free: 4.105 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1435/0.1969, allocations: 10.14 MB / 450.1 MB, free: 117.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01544/0.2124, allocations: 13.78 MB / 463.9 MB, free: 114.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008933/0.2213, allocations: 8.096 MB / 472 MB, free: 110.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00577/0.2271, allocations: 5.829 MB / 477.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002479/0.2296, allocations: 1.51 MB / 479.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.232, allocations: 1.893 MB / 481.2 MB, free: 107.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.2333, allocations: 3.031 MB / 484.2 MB, free: 105.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003302/0.2366, allocations: 3.877 MB / 488.1 MB, free: 101.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006583/0.2432, allocations: 9.736 MB / 497.8 MB, free: 93.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2432, allocations: 0 / 497.8 MB, free: 93.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2432, allocations: 0 / 497.8 MB, free: 93.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002367/0.2434, allocations: 4.656 kB / 497.8 MB, free: 93.46 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2552 * Number of variables: 2552 Notification: Performance of Generate backend data structure: time 0.01354/0.2569, allocations: 12.01 MB / 0.4979 GB, free: 81.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.257, allocations: 14.62 kB / 0.4979 GB, free: 81.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/0.2708, allocations: 5.346 MB / 0.5031 GB, free: 76.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005384/0.2761, allocations: 5.542 MB / 0.5085 GB, free: 71.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.2764, allocations: 0.6914 MB / 0.5092 GB, free: 70.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008823/0.2773, allocations: 0.9098 MB / 0.5101 GB, free: 69.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008295/0.2856, allocations: 7.348 MB / 0.5173 GB, free: 62.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.2857, allocations: 14.56 kB / 0.5173 GB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005963/0.2863, allocations: 382.9 kB / 0.5177 GB, free: 62.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002577/0.2866, allocations: 0.5149 MB / 0.5182 GB, free: 61.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00461/0.2912, allocations: 3.392 MB / 0.5215 GB, free: 58.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02912/0.3203, allocations: 37.16 MB / 0.5578 GB, free: 22.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004951/0.3252, allocations: 5.916 MB / 0.5635 GB, free: 17.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.3263, allocations: 1.172 MB / 0.5647 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.3265, allocations: 122.9 kB / 0.5648 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3265, allocations: 76.34 kB / 0.5649 GB, free: 16.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=375): time 5.23e-06/0.3265, allocations: 0 / 0.5649 GB, free: 16.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.01179/0.3383, allocations: 7.179 MB / 0.5719 GB, free: 9.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3384, allocations: 94.34 kB / 0.572 GB, free: 9.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.3415, allocations: 3.255 MB / 0.5752 GB, free: 6.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.3417, allocations: 89.7 kB / 0.5752 GB, free: 6.242 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.3433, allocations: 4.342 MB / 0.5795 GB, free: 2.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007247/0.3441, allocations: 1.416 MB / 0.5809 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2151/0.5592, allocations: 1.305 MB / 0.5821 GB, free: 87.69 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.5592, allocations: 476.8 kB / 0.5826 GB, free: 87.22 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/0.56, allocations: 0.6314 MB / 0.5832 GB, free: 87.2 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.5616, allocations: 4.356 MB / 0.5875 GB, free: 82.7 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.5646, allocations: 5.627 MB / 0.593 GB, free: 78.23 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/0.5646, allocations: 24.53 kB / 0.593 GB, free: 78.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.004713/0.5693, allocations: 4.723 MB / 0.5976 GB, free: 78.02 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.5693, allocations: 38.16 kB / 0.5976 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.574e-05/0.5694, allocations: 81.09 kB / 0.5977 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.5707, allocations: 0.7634 MB / 0.5985 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.5727, allocations: 1.259 MB / 0.5997 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/0.5767, allocations: 4.83 MB / 0.6044 GB, free: 75.94 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.5782, allocations: 245.7 kB / 0.6046 GB, free: 75.93 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/0.5785, allocations: 253.8 kB / 0.6049 GB, free: 75.93 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (708): * Single equations (assignments): 707 * 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,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001464/0.5799, allocations: 0.5589 MB / 0.6054 GB, free: 75.77 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/0.5805, allocations: 0.5051 MB / 0.6059 GB, free: 75.72 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/0.5842, allocations: 2.959 MB / 0.6088 GB, free: 75.46 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.5842, allocations: 42.62 kB / 0.6089 GB, free: 75.46 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.5842, allocations: 7.969 kB / 0.6089 GB, free: 75.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.5842, allocations: 19.59 kB / 0.6089 GB, free: 75.46 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009111/0.5933, allocations: 8.132 MB / 0.6168 GB, free: 74.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.5933, allocations: 10.94 kB / 0.6168 GB, free: 74.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.5945, allocations: 0.5924 MB / 0.6174 GB, free: 74.61 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.5957, allocations: 0.631 MB / 0.618 GB, free: 74.56 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.5958, allocations: 89.66 kB / 0.6181 GB, free: 74.56 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.5991, allocations: 4.32 MB / 0.6223 GB, free: 72.49 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5991, allocations: 8.375 kB / 0.6223 GB, free: 72.49 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/0.603, allocations: 3.726 MB / 0.626 GB, free: 71.59 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.6038, allocations: 0.6719 MB / 0.6266 GB, free: 71.38 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.6041, allocations: 68.66 kB / 0.6267 GB, free: 71.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/0.6048, allocations: 96.25 kB / 0.6268 GB, free: 71.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.6052, allocations: 273.1 kB / 0.627 GB, free: 71.37 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.6053, allocations: 88.62 kB / 0.6271 GB, free: 71.37 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001083/0.6064, allocations: 1.379 MB / 0.6285 GB, free: 71.18 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6064, allocations: 0 / 0.6285 GB, free: 71.18 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003146/0.6095, allocations: 1.514 MB / 0.63 GB, free: 71.18 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 1 (smr.phiMechanical) * 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 (365): * Single equations (assignments): 364 * 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,38,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/0.6098, allocations: 250.5 kB / 0.6302 GB, free: 71.09 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.003325/0.6132, allocations: 3.472 MB / 0.6336 GB, free: 70.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6132, allocations: 0 / 0.6336 GB, free: 70.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.615, allocations: 1.672 MB / 0.6352 GB, free: 70.2 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.6175, allocations: 0.8532 MB / 0.6361 GB, free: 69.79 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.6311, allocations: 12.97 MB / 0.6487 GB, free: 59.12 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.6329, allocations: 2.446 MB / 0.6511 GB, free: 57.29 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001751/0.6346, allocations: 0.6492 MB / 0.6517 GB, free: 56.79 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/0.6362, allocations: 0.9579 MB / 0.6527 GB, free: 55.96 MB / 410.8 MB Notification: Performance of SimCode: time 8.31e-07/0.6362, allocations: 0 / 0.6527 GB, free: 55.96 MB / 410.8 MB Notification: Performance of Templates: time 0.08754/0.7238, allocations: 58.29 MB / 0.7096 GB, free: 15.94 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0066578993573785]