Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.001261/0.001261, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.911/0.911, allocations: 177.2 MB / 200.3 MB, free: 5.355 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.001372/0.001372, allocations: 167.1 kB / 257 MB, free: 12.79 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.02359/0.02359, allocations: 6.657 MB / 266.9 MB, free: 3.039 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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 4 kB / 285.7 MB, free: 280 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.403e-05, allocations: 6.25 kB / 285.7 MB, free: 272 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.1243/0.1243, allocations: 24.02 MB / 309.7 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.1387, allocations: 8.278 MB / 318 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00593/0.1447, allocations: 207 kB / 318.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01415/0.1588, allocations: 8.137 MB / 326.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.1692, allocations: 3.206 MB / 329.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005438/0.1746, allocations: 2.051 MB / 331.6 MB, free: 384 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01288/0.1875, allocations: 9.711 MB / 341.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01884/0.2064, allocations: 11.58 MB / 352.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.2194, allocations: 7.27 MB / 360.2 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007776/0.2272, allocations: 5.127 MB / 365.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002768/0.23, allocations: 1.348 MB / 366.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.2335, allocations: 1.726 MB / 368.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.2354, allocations: 2.766 MB / 371.1 MB, free: 8.598 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005052/0.2405, allocations: 3.45 MB / 374.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00992/0.2504, allocations: 8.597 MB / 383.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2504, allocations: 0 / 383.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2504, allocations: 0 / 383.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002479/0.2506, allocations: 0 / 383.2 MB, free: 12.52 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.01583/0.2665, allocations: 10.16 MB / 393.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2665, allocations: 12.02 kB / 393.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.283, allocations: 5.807 MB / 399.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006864/0.2898, allocations: 3.136 MB / 402.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.2902, allocations: 0.5741 MB / 402.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/0.2921, allocations: 0.7771 MB / 403.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.3032, allocations: 6.443 MB / 410.1 MB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.3033, allocations: 15.88 kB / 410.1 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006777/0.304, allocations: 324 kB / 410.4 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003414/0.3044, allocations: 0.4967 MB / 410.9 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006461/0.3108, allocations: 3.316 MB / 414.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2572/0.568, allocations: 25.64 MB / 439.9 MB, free: 63.01 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006357/0.5744, allocations: 5.32 MB / 445.2 MB, free: 62.63 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.5756, allocations: 0.9993 MB / 446.2 MB, free: 62.59 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.5758, allocations: 129.8 kB / 446.3 MB, free: 62.59 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.577, allocations: 1.505 MB / 447.8 MB, free: 62.1 MB / 378.8 MB Notification: Performance of pre-optimization done (n=391): time 5.381e-06/0.577, allocations: 0 / 447.8 MB, free: 62.1 MB / 378.8 MB Notification: Performance of matching and sorting (n=397): time 0.01194/0.589, allocations: 7.194 MB / 455 MB, free: 61.09 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.5891, allocations: 358.9 kB / 455.4 MB, free: 60.71 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.5907, allocations: 2.249 MB / 457.6 MB, free: 60.38 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.5909, allocations: 90.61 kB / 457.7 MB, free: 60.34 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009018/0.5918, allocations: 3.19 MB / 460.9 MB, free: 58.88 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005619/0.5923, allocations: 1.409 MB / 462.3 MB, free: 58.07 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008925/0.5932, allocations: 1.002 MB / 463.3 MB, free: 57.98 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.015e-05/0.5932, allocations: 304.4 kB / 463.6 MB, free: 57.69 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008184/0.5941, allocations: 0.7367 MB / 464.3 MB, free: 57.63 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.5952, allocations: 2.709 MB / 467 MB, free: 55.09 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.5976, allocations: 3.768 MB / 470.8 MB, free: 52.5 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.5976, allocations: 20 kB / 470.8 MB, free: 52.48 MB / 378.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.003915/0.6015, allocations: 3.664 MB / 474.5 MB, free: 50.07 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.6015, allocations: 61.64 kB / 474.5 MB, free: 50 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/0.6016, allocations: 60 kB / 474.6 MB, free: 49.94 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.6031, allocations: 0.8666 MB / 475.5 MB, free: 49.34 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.605, allocations: 1.157 MB / 476.6 MB, free: 48.41 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/0.609, allocations: 4.269 MB / 480.9 MB, free: 45.04 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.6111, allocations: 234.9 kB / 481.1 MB, free: 44.89 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/0.6113, allocations: 210.2 kB / 481.3 MB, free: 44.73 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.001445/0.6127, allocations: 0.4918 MB / 481.8 MB, free: 44.47 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005424/0.6133, allocations: 351.4 kB / 482.2 MB, free: 44.18 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.6163, allocations: 2.775 MB / 484.9 MB, free: 41.86 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.6163, allocations: 40 kB / 485 MB, free: 41.82 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.6163, allocations: 19.94 kB / 485 MB, free: 41.8 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.6164, allocations: 19.92 kB / 485 MB, free: 41.78 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/0.6259, allocations: 7.548 MB / 492.6 MB, free: 36.04 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6259, allocations: 8 kB / 492.6 MB, free: 36.04 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.6271, allocations: 0.596 MB / 493.2 MB, free: 35.5 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.6285, allocations: 0.7579 MB / 493.9 MB, free: 34.78 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.6286, allocations: 78.59 kB / 494 MB, free: 34.75 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.632, allocations: 3.833 MB / 497.8 MB, free: 31.74 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.632, allocations: 11.56 kB / 497.8 MB, free: 31.73 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.6357, allocations: 3.254 MB / 0.4894 GB, free: 28.62 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.6368, allocations: 485.6 kB / 0.4898 GB, free: 28.21 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.6371, allocations: 78.42 kB / 0.4899 GB, free: 28.18 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.6379, allocations: 105.2 kB / 0.49 GB, free: 28.13 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/0.6383, allocations: 282.2 kB / 0.4903 GB, free: 27.89 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6384, allocations: 86.59 kB / 0.4903 GB, free: 27.83 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.000945/0.6393, allocations: 1.04 MB / 0.4914 GB, free: 26.96 MB / 378.8 MB Notification: Performance of sort global known variables: time 4e-08/0.6393, allocations: 0 / 0.4914 GB, free: 26.96 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003333/0.6427, allocations: 1.447 MB / 0.4928 GB, free: 25.67 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.0004155/0.6431, allocations: 247 kB / 0.493 GB, free: 25.53 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003527/0.6466, allocations: 3.068 MB / 0.496 GB, free: 22.91 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001029/0.6467, allocations: 64 kB / 0.4961 GB, free: 22.84 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.6484, allocations: 1.638 MB / 0.4977 GB, free: 21.45 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.6505, allocations: 0.7434 MB / 0.4984 GB, free: 20.96 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.6632, allocations: 11.35 MB / 0.5095 GB, free: 10.39 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.6645, allocations: 1.512 MB / 0.511 GB, free: 8.84 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001805/0.6663, allocations: 0.6478 MB / 0.5116 GB, free: 8.188 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/0.6676, allocations: 0.8154 MB / 0.5124 GB, free: 7.367 MB / 378.8 MB Notification: Performance of SimCode: time 1.483e-06/0.6676, allocations: 0 / 0.5124 GB, free: 7.367 MB / 378.8 MB Notification: Performance of Templates: time 0.07873/0.7463, allocations: 59.19 MB / 0.5702 GB, free: 13.05 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.500629324931651]