Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.0008855/0.0008855, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.9534/0.9534, allocations: 177.1 MB / 200 MB, free: 5.543 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.001309/0.001309, allocations: 175.6 kB / 256.6 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.02423/0.02423, allocations: 6.658 MB / 319.8 MB, free: 11.64 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.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 391.7 MB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.183e-05, allocations: 6.312 kB / 391.7 MB, free: 3.621 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.02186/0.02188, allocations: 24.77 MB / 416.5 MB, free: 10.74 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.03833, allocations: 7.941 MB / 424.4 MB, free: 2.773 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005925/0.04426, allocations: 207 kB / 424.6 MB, free: 2.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.05626, allocations: 8.113 MB / 432.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.06716, allocations: 3.193 MB / 435.9 MB, free: 7.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006536/0.0737, allocations: 2.049 MB / 438 MB, free: 5.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1719/0.2456, allocations: 9.704 MB / 447.7 MB, free: 118.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0183/0.2639, allocations: 11.22 MB / 458.9 MB, free: 117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01654/0.2804, allocations: 7.252 MB / 466.1 MB, free: 113.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008883/0.2893, allocations: 5.066 MB / 471.2 MB, free: 112 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00466/0.294, allocations: 1.347 MB / 472.6 MB, free: 112 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005983/0.3, allocations: 1.737 MB / 474.3 MB, free: 111.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00374/0.3037, allocations: 2.767 MB / 477.1 MB, free: 110.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006907/0.3106, allocations: 3.447 MB / 480.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01537/0.326, allocations: 8.604 MB / 489.1 MB, free: 102.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.326, allocations: 4 kB / 489.1 MB, free: 102.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.326, allocations: 0 / 489.1 MB, free: 102.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003357/0.3263, allocations: 0 / 489.1 MB, free: 102.5 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.02366/0.35, allocations: 11.44 MB / 0.4888 GB, free: 91.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.35, allocations: 11.97 kB / 0.4888 GB, free: 91.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02529/0.3753, allocations: 7.046 MB / 0.4957 GB, free: 84.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008796/0.3841, allocations: 5.613 MB / 0.5012 GB, free: 78.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.3845, allocations: 0.575 MB / 0.5018 GB, free: 78.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.3864, allocations: 0.774 MB / 0.5025 GB, free: 77.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/0.4015, allocations: 6.897 MB / 0.5093 GB, free: 70.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.4017, allocations: 7.953 kB / 0.5093 GB, free: 70.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.4027, allocations: 329.4 kB / 0.5096 GB, free: 70.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000303/0.403, allocations: 0.4967 MB / 0.5101 GB, free: 69.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.4149, allocations: 4.03 MB / 0.514 GB, free: 65.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0416/0.4565, allocations: 33.6 MB / 0.5468 GB, free: 31.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008079/0.4646, allocations: 7.877 MB / 0.5545 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.4666, allocations: 1.315 MB / 0.5558 GB, free: 23.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.4668, allocations: 123 kB / 0.5559 GB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/0.4686, allocations: 1.692 MB / 0.5576 GB, free: 21.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=391): time 7.244e-06/0.4686, allocations: 0 / 0.5576 GB, free: 21.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=397): time 0.01871/0.4873, allocations: 12.43 MB / 0.5697 GB, free: 9.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.4874, allocations: 359.5 kB / 0.57 GB, free: 8.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.4903, allocations: 2.965 MB / 0.5729 GB, free: 5.996 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002784/0.4906, allocations: 93.7 kB / 0.573 GB, free: 5.898 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.492, allocations: 3.666 MB / 0.5766 GB, free: 2.223 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007628/0.4928, allocations: 1.44 MB / 0.578 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2664/0.7591, allocations: 1.181 MB / 0.5792 GB, free: 90.29 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.7592, allocations: 484 kB / 0.5796 GB, free: 89.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.7611, allocations: 0.8694 MB / 0.5805 GB, free: 89.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.7639, allocations: 3.898 MB / 0.5843 GB, free: 86.12 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/0.7681, allocations: 4.998 MB / 0.5892 GB, free: 82.75 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.342e-05/0.7681, allocations: 15.28 kB / 0.5892 GB, free: 82.75 MB / 410.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006878/0.775, allocations: 5.005 MB / 0.5941 GB, free: 82.51 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/0.7751, allocations: 57.98 kB / 0.5941 GB, free: 82.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.026e-05/0.7751, allocations: 60.66 kB / 0.5942 GB, free: 82.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.7771, allocations: 0.9303 MB / 0.5951 GB, free: 82.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.7796, allocations: 1.26 MB / 0.5963 GB, free: 82.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.7856, allocations: 5.751 MB / 0.6019 GB, free: 80.37 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.7885, allocations: 352.7 kB / 0.6023 GB, free: 80.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005298/0.789, allocations: 268 kB / 0.6025 GB, free: 80.36 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0021/0.7911, allocations: 0.5337 MB / 0.603 GB, free: 80.17 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008316/0.792, allocations: 0.5041 MB / 0.6035 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/0.7971, allocations: 3.636 MB / 0.6071 GB, free: 79.81 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.7972, allocations: 39.97 kB / 0.6071 GB, free: 79.81 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.7972, allocations: 11.19 kB / 0.6071 GB, free: 79.81 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.7972, allocations: 20.36 kB / 0.6071 GB, free: 79.81 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.8129, allocations: 10.23 MB / 0.6171 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8129, allocations: 6.906 kB / 0.6171 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.8144, allocations: 0.6807 MB / 0.6178 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.8162, allocations: 0.8235 MB / 0.6186 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/0.8164, allocations: 92.53 kB / 0.6187 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005075/0.8215, allocations: 5.222 MB / 0.6238 GB, free: 76.4 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8215, allocations: 4.422 kB / 0.6238 GB, free: 76.4 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/0.8284, allocations: 4.422 MB / 0.6281 GB, free: 75.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/0.8301, allocations: 0.7656 MB / 0.6289 GB, free: 74.91 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005045/0.8306, allocations: 78.44 kB / 0.6289 GB, free: 74.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.8317, allocations: 183.6 kB / 0.6291 GB, free: 74.81 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007175/0.8324, allocations: 294.5 kB / 0.6294 GB, free: 74.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/0.8326, allocations: 114.8 kB / 0.6295 GB, free: 74.74 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00244/0.835, allocations: 1.434 MB / 0.6309 GB, free: 74.26 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.835, allocations: 7.562 kB / 0.6309 GB, free: 74.25 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005463/0.8405, allocations: 1.446 MB / 0.6323 GB, free: 74.1 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007682/0.8412, allocations: 260.4 kB / 0.6326 GB, free: 73.95 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006115/0.8474, allocations: 3.864 MB / 0.6363 GB, free: 70.91 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.8474, allocations: 0 / 0.6363 GB, free: 70.91 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.85, allocations: 2.019 MB / 0.6383 GB, free: 69.18 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.8526, allocations: 0.7543 MB / 0.6391 GB, free: 68.61 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/0.8699, allocations: 11.68 MB / 0.6505 GB, free: 57.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/0.8725, allocations: 2.045 MB / 0.6525 GB, free: 56.25 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003228/0.8757, allocations: 1.325 MB / 0.6538 GB, free: 55.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/0.8765, allocations: 339.6 kB / 0.6541 GB, free: 55.1 MB / 410.8 MB Notification: Performance of SimCode: time 1.724e-06/0.8765, allocations: 0 / 0.6541 GB, free: 55.1 MB / 410.8 MB Notification: Performance of Templates: time 0.06866/0.9452, allocations: 56.49 MB / 0.7093 GB, free: 24 kB / 410.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.036745168734342]