Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001359/0.001359, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9445/0.9445, allocations: 177.2 MB / 200.3 MB, free: 5.395 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.001204/0.001204, allocations: 164.3 kB / 257 MB, free: 12.84 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.02557/0.02557, allocations: 6.665 MB / 266.9 MB, free: 3.078 MB / 250.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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 285.7 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.327e-05, allocations: 6.312 kB / 285.7 MB, free: 296 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.1289/0.1289, allocations: 24.05 MB / 309.8 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.1445, allocations: 8.27 MB / 318 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004637/0.1492, allocations: 207 kB / 318.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.16, allocations: 8.088 MB / 326.3 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.1705, allocations: 3.177 MB / 329.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006023/0.1765, allocations: 2.038 MB / 331.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01439/0.1909, allocations: 9.707 MB / 341.2 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01604/0.2069, allocations: 11.57 MB / 352.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.2179, allocations: 7.278 MB / 360.1 MB, free: 3.824 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006813/0.2248, allocations: 5.119 MB / 365.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003154/0.2279, allocations: 1.344 MB / 366.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/0.2322, allocations: 1.753 MB / 368.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003104/0.2353, allocations: 2.762 MB / 371.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006512/0.2418, allocations: 3.45 MB / 374.5 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.2541, allocations: 8.597 MB / 383.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2541, allocations: 0 / 383.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2541, allocations: 0 / 383.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001639/0.2543, allocations: 0 / 383.1 MB, free: 12.75 MB / 346.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.01413/0.2684, allocations: 10.17 MB / 393.3 MB, free: 2.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2684, allocations: 8.031 kB / 393.3 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.2858, allocations: 5.799 MB / 399.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005582/0.2914, allocations: 3.143 MB / 402.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/0.2917, allocations: 0.578 MB / 402.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008723/0.2925, allocations: 0.7655 MB / 403.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00779/0.3003, allocations: 6.447 MB / 410 MB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.3005, allocations: 11.94 kB / 410 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005338/0.301, allocations: 324 kB / 410.4 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003152/0.3013, allocations: 0.5006 MB / 410.9 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00555/0.3069, allocations: 3.323 MB / 414.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3107/0.6176, allocations: 25.63 MB / 439.8 MB, free: 63.14 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00708/0.6247, allocations: 5.329 MB / 445.1 MB, free: 62.76 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.6262, allocations: 0.9964 MB / 446.1 MB, free: 62.72 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.6264, allocations: 125.7 kB / 446.3 MB, free: 62.72 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.6277, allocations: 1.511 MB / 447.8 MB, free: 62.23 MB / 378.8 MB Notification: Performance of pre-optimization done (n=391): time 6.632e-06/0.6277, allocations: 0 / 447.8 MB, free: 62.23 MB / 378.8 MB Notification: Performance of matching and sorting (n=397): time 0.01336/0.6411, allocations: 7.197 MB / 455 MB, free: 61.23 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.6412, allocations: 359.6 kB / 455.3 MB, free: 60.85 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.6432, allocations: 2.248 MB / 457.6 MB, free: 60.52 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003053/0.6435, allocations: 88.86 kB / 457.7 MB, free: 60.49 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.6447, allocations: 3.185 MB / 460.8 MB, free: 59.03 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009705/0.6457, allocations: 1.405 MB / 462.2 MB, free: 58.22 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.6469, allocations: 1.006 MB / 463.3 MB, free: 58.13 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.066e-05/0.6469, allocations: 305.2 kB / 463.6 MB, free: 57.84 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.6481, allocations: 0.7356 MB / 464.3 MB, free: 57.78 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.6497, allocations: 2.715 MB / 467 MB, free: 55.24 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/0.6532, allocations: 3.769 MB / 470.8 MB, free: 52.6 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.801e-05/0.6532, allocations: 20 kB / 470.8 MB, free: 52.58 MB / 378.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005792/0.659, allocations: 3.662 MB / 474.5 MB, free: 50.18 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.6591, allocations: 62.02 kB / 474.5 MB, free: 50.11 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.379e-05/0.6591, allocations: 60 kB / 474.6 MB, free: 50.05 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.6612, allocations: 0.8673 MB / 475.4 MB, free: 49.45 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/0.6644, allocations: 1.224 MB / 476.7 MB, free: 48.45 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005266/0.6697, allocations: 4.297 MB / 481 MB, free: 45.05 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.6727, allocations: 226.7 kB / 481.2 MB, free: 44.91 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006436/0.6734, allocations: 214 kB / 481.4 MB, free: 44.75 MB / 378.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.001886/0.6753, allocations: 0.4898 MB / 481.9 MB, free: 44.48 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008209/0.6761, allocations: 348.3 kB / 482.2 MB, free: 44.19 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/0.6803, allocations: 2.78 MB / 485 MB, free: 41.87 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.6803, allocations: 40 kB / 485 MB, free: 41.83 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.6803, allocations: 8 kB / 485 MB, free: 41.82 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/0.6803, allocations: 31.86 kB / 485.1 MB, free: 41.79 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.6936, allocations: 7.552 MB / 492.6 MB, free: 36.05 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.6936, allocations: 4 kB / 492.6 MB, free: 36.05 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.6956, allocations: 0.6452 MB / 493.3 MB, free: 35.46 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.6974, allocations: 0.7456 MB / 494 MB, free: 34.75 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003801/0.6978, allocations: 87.14 kB / 494.1 MB, free: 34.72 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00462/0.7024, allocations: 3.874 MB / 498 MB, free: 31.67 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.7024, allocations: 7.844 kB / 498 MB, free: 31.67 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.708, allocations: 3.262 MB / 0.4895 GB, free: 28.55 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.7094, allocations: 487.2 kB / 0.49 GB, free: 28.14 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/0.7099, allocations: 74.25 kB / 0.49 GB, free: 28.12 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.7111, allocations: 110.1 kB / 0.4901 GB, free: 28.06 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004024/0.7115, allocations: 281.8 kB / 0.4904 GB, free: 27.82 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.7116, allocations: 83.28 kB / 0.4905 GB, free: 27.77 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001036/0.7126, allocations: 1.037 MB / 0.4915 GB, free: 26.9 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7126, allocations: 0 / 0.4915 GB, free: 26.9 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003893/0.7165, allocations: 1.446 MB / 0.4929 GB, free: 25.61 MB / 378.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.0005604/0.7171, allocations: 246.9 kB / 0.4932 GB, free: 25.46 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003857/0.7209, allocations: 3.074 MB / 0.4962 GB, free: 22.84 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001259/0.7211, allocations: 59.94 kB / 0.4962 GB, free: 22.77 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.723, allocations: 1.638 MB / 0.4978 GB, free: 21.38 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.7255, allocations: 0.7415 MB / 0.4985 GB, free: 20.9 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.7398, allocations: 11.36 MB / 0.5096 GB, free: 10.45 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.7415, allocations: 1.512 MB / 0.5111 GB, free: 8.902 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001914/0.7435, allocations: 0.6439 MB / 0.5117 GB, free: 8.254 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/0.7449, allocations: 0.8227 MB / 0.5125 GB, free: 7.43 MB / 378.8 MB Notification: Performance of SimCode: time 1.182e-06/0.7449, allocations: 0.6562 kB / 0.5125 GB, free: 7.43 MB / 378.8 MB Notification: Performance of Templates: time 0.07739/0.8223, allocations: 59.21 MB / 0.5704 GB, free: 13.09 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.538174916058779]