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.001344/0.001344, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.9476/0.9476, allocations: 177.2 MB / 200.5 MB, free: 5.816 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.001166/0.001166, allocations: 172.5 kB / 257 MB, free: 13.18 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.03836/0.03836, allocations: 6.666 MB / 320.1 MB, free: 26.57 MB / 266.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.603e-06/1.603e-06, allocations: 0 / 391.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.907e-05, allocations: 6.25 kB / 391.7 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.1435/0.1436, allocations: 26.58 MB / 418.3 MB, free: 68.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.1562, allocations: 8.022 MB / 426.3 MB, free: 66.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.1589, allocations: 248 kB / 426.5 MB, free: 66.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007578/0.1665, allocations: 8.381 MB / 434.9 MB, free: 61.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.1708, allocations: 2.807 MB / 437.7 MB, free: 58.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.173, allocations: 1.863 MB / 439.6 MB, free: 57.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006073/0.1791, allocations: 10.15 MB / 449.7 MB, free: 49.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.191, allocations: 13.78 MB / 463.5 MB, free: 35.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/0.1976, allocations: 8.043 MB / 471.6 MB, free: 27.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004693/0.2023, allocations: 5.731 MB / 477.3 MB, free: 21.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.2038, allocations: 1.516 MB / 478.8 MB, free: 19.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.2055, allocations: 1.898 MB / 480.7 MB, free: 18.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.2067, allocations: 3.047 MB / 483.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.2095, allocations: 3.879 MB / 487.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005818/0.2153, allocations: 9.766 MB / 497.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2153, allocations: 0 / 497.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2153, allocations: 0 / 497.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.682e-05/0.2154, allocations: 0 / 497.4 MB, free: 1.352 MB / 330.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.01521/0.2306, allocations: 12.53 MB / 0.498 GB, free: 4.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2306, allocations: 8.031 kB / 0.498 GB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.2482, allocations: 6.979 MB / 0.5048 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006499/0.2547, allocations: 5.944 MB / 0.5106 GB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.255, allocations: 0.6868 MB / 0.5113 GB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009704/0.256, allocations: 0.9178 MB / 0.5122 GB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.2674, allocations: 8.021 MB / 0.52 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.2675, allocations: 7.953 kB / 0.52 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006327/0.2681, allocations: 392 kB / 0.5204 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000335/0.2685, allocations: 0.5113 MB / 0.5209 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008195/0.2767, allocations: 4.323 MB / 0.5251 GB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2448/0.5215, allocations: 37.63 MB / 0.5619 GB, free: 103.4 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007081/0.5286, allocations: 6.767 MB / 0.5685 GB, free: 103.2 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.5301, allocations: 1.351 MB / 0.5698 GB, free: 103.2 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.5303, allocations: 114.4 kB / 0.5699 GB, free: 103.2 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.5303, allocations: 76.64 kB / 0.57 GB, free: 103.1 MB / 394.8 MB Notification: Performance of pre-optimization done (n=375): time 4.879e-06/0.5303, allocations: 0 / 0.57 GB, free: 103.1 MB / 394.8 MB Notification: Performance of matching and sorting (n=382): time 0.01301/0.5433, allocations: 8.765 MB / 0.5785 GB, free: 101.6 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.5434, allocations: 90.53 kB / 0.5786 GB, free: 101.5 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/0.546, allocations: 3.288 MB / 0.5818 GB, free: 101.1 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.5462, allocations: 87.61 kB / 0.5819 GB, free: 101 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.5474, allocations: 4.323 MB / 0.5861 GB, free: 99.08 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/0.548, allocations: 1.401 MB / 0.5875 GB, free: 98.2 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.549, allocations: 1.286 MB / 0.5888 GB, free: 98.09 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.549, allocations: 487.7 kB / 0.5892 GB, free: 97.62 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.5502, allocations: 0.8179 MB / 0.59 GB, free: 97.6 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.5523, allocations: 4.522 MB / 0.5944 GB, free: 93.06 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/0.5559, allocations: 5.931 MB / 0.6002 GB, free: 87.23 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.567e-05/0.5559, allocations: 24 kB / 0.6002 GB, free: 87.21 MB / 394.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.005623/0.5615, allocations: 5.193 MB / 0.6053 GB, free: 82.52 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.5616, allocations: 47.11 kB / 0.6054 GB, free: 82.48 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/0.5616, allocations: 84 kB / 0.6054 GB, free: 82.4 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.5631, allocations: 0.8048 MB / 0.6062 GB, free: 81.67 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/0.5652, allocations: 1.341 MB / 0.6075 GB, free: 80.33 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.5695, allocations: 5.071 MB / 0.6125 GB, free: 75.14 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.5711, allocations: 331.4 kB / 0.6128 GB, free: 74.81 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.5713, allocations: 304 kB / 0.6131 GB, free: 74.52 MB / 394.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.001366/0.5727, allocations: 0.5568 MB / 0.6136 GB, free: 73.95 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.5732, allocations: 0.5015 MB / 0.6141 GB, free: 73.44 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/0.5771, allocations: 3.319 MB / 0.6174 GB, free: 70.09 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.5771, allocations: 40 kB / 0.6174 GB, free: 70.05 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.5771, allocations: 8.734 kB / 0.6174 GB, free: 70.04 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.5772, allocations: 27.92 kB / 0.6174 GB, free: 70.01 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.5882, allocations: 10.55 MB / 0.6277 GB, free: 59.41 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.5882, allocations: 4 kB / 0.6278 GB, free: 59.41 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.5895, allocations: 0.6753 MB / 0.6284 GB, free: 58.73 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.5907, allocations: 0.6629 MB / 0.6291 GB, free: 58.07 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.5908, allocations: 83.98 kB / 0.6291 GB, free: 57.99 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00356/0.5944, allocations: 4.534 MB / 0.6336 GB, free: 53.35 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5944, allocations: 4 kB / 0.6336 GB, free: 53.34 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.5991, allocations: 4.229 MB / 0.6377 GB, free: 48.96 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/0.5999, allocations: 0.7315 MB / 0.6384 GB, free: 48.23 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.6002, allocations: 75.95 kB / 0.6385 GB, free: 48.16 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.601, allocations: 183.8 kB / 0.6387 GB, free: 47.98 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.6013, allocations: 270.4 kB / 0.6389 GB, free: 47.71 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.6014, allocations: 117.8 kB / 0.639 GB, free: 47.6 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001352/0.6028, allocations: 1.483 MB / 0.6405 GB, free: 46.12 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6028, allocations: 0 / 0.6405 GB, free: 46.12 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003399/0.6062, allocations: 1.516 MB / 0.642 GB, free: 44.61 MB / 394.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.0003552/0.6065, allocations: 259.4 kB / 0.6422 GB, free: 44.35 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004/0.6105, allocations: 3.807 MB / 0.6459 GB, free: 40.52 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6105, allocations: 0 / 0.6459 GB, free: 40.52 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.6122, allocations: 1.819 MB / 0.6477 GB, free: 38.68 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.6141, allocations: 0.8618 MB / 0.6485 GB, free: 37.87 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.6272, allocations: 13.11 MB / 0.6614 GB, free: 24.58 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.6287, allocations: 2.446 MB / 0.6637 GB, free: 22.1 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003027/0.6318, allocations: 1.577 MB / 0.6653 GB, free: 20.52 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/0.6325, allocations: 340.4 kB / 0.6656 GB, free: 20.18 MB / 394.8 MB Notification: Performance of SimCode: time 1.302e-06/0.6325, allocations: 0 / 0.6656 GB, free: 20.18 MB / 394.8 MB Notification: Performance of Templates: time 0.1788/0.8113, allocations: 52.75 MB / 0.7171 GB, free: 127.4 MB / 410.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: 4.903332263929769]