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.0008653/0.0008653, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.9104/0.9104, allocations: 177.2 MB / 200.3 MB, free: 5.684 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.001143/0.001143, allocations: 156.6 kB / 257 MB, free: 12.97 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.02378/0.02378, allocations: 6.652 MB / 266.9 MB, free: 3.227 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.202e-06/1.202e-06, allocations: 0 / 285.7 MB, free: 484 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.118e-06/1.032e-05, allocations: 2.312 kB / 285.7 MB, free: 480 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.1149/0.1149, allocations: 24 MB / 309.7 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1273, allocations: 8.275 MB / 317.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.1302, allocations: 203 kB / 318.1 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008509/0.1387, allocations: 8.136 MB / 326.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.1444, allocations: 3.202 MB / 329.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.1473, allocations: 2.055 MB / 331.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007539/0.1548, allocations: 9.708 MB / 341.2 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.1659, allocations: 11.59 MB / 352.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007561/0.1734, allocations: 7.274 MB / 360.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006704/0.1801, allocations: 5.119 MB / 365.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003222/0.1833, allocations: 1.348 MB / 366.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.1876, allocations: 1.726 MB / 368.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.1907, allocations: 2.766 MB / 371.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006067/0.1968, allocations: 3.45 MB / 374.5 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.2087, allocations: 8.593 MB / 383.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2087, allocations: 0 / 383.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2087, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003295/0.209, allocations: 0 / 383.1 MB, free: 12.84 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.0168/0.2258, allocations: 10.16 MB / 393.3 MB, free: 2.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2259, allocations: 12.03 kB / 393.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.2426, allocations: 5.811 MB / 399.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007315/0.2499, allocations: 3.136 MB / 402.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/0.2503, allocations: 0.5819 MB / 402.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/0.253, allocations: 0.7694 MB / 403.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.269, allocations: 6.443 MB / 410 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002303/0.2692, allocations: 15.88 kB / 410 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.2703, allocations: 320 kB / 410.3 MB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003677/0.2707, allocations: 0.4967 MB / 410.8 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00709/0.2778, allocations: 3.323 MB / 414.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2494/0.5272, allocations: 25.65 MB / 439.8 MB, free: 63.04 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006884/0.5341, allocations: 5.308 MB / 445.1 MB, free: 62.66 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.5355, allocations: 1.004 MB / 446.1 MB, free: 62.62 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.5357, allocations: 138.4 kB / 446.3 MB, free: 62.61 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.5369, allocations: 1.507 MB / 447.8 MB, free: 62.12 MB / 378.8 MB Notification: Performance of pre-optimization done (n=391): time 5.861e-06/0.5369, allocations: 0 / 447.8 MB, free: 62.12 MB / 378.8 MB Notification: Performance of matching and sorting (n=397): time 0.0144/0.5513, allocations: 7.188 MB / 455 MB, free: 61.14 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.5514, allocations: 354.6 kB / 455.3 MB, free: 60.77 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.5541, allocations: 2.25 MB / 457.6 MB, free: 60.43 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005868/0.5547, allocations: 90.02 kB / 457.6 MB, free: 60.4 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.5561, allocations: 3.192 MB / 460.8 MB, free: 58.94 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.5571, allocations: 1.398 MB / 462.2 MB, free: 58.13 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.5584, allocations: 1.01 MB / 463.2 MB, free: 58.04 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.736e-05/0.5584, allocations: 304.4 kB / 463.5 MB, free: 57.75 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.5596, allocations: 0.7363 MB / 464.3 MB, free: 57.69 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.5613, allocations: 2.71 MB / 467 MB, free: 55.15 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/0.5664, allocations: 3.771 MB / 470.8 MB, free: 52.64 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/0.5666, allocations: 23.47 kB / 470.8 MB, free: 52.62 MB / 378.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.00756/0.5741, allocations: 3.664 MB / 474.4 MB, free: 50.21 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.5742, allocations: 61.73 kB / 474.5 MB, free: 50.15 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.054e-05/0.5743, allocations: 60 kB / 474.6 MB, free: 50.09 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.5764, allocations: 0.8633 MB / 475.4 MB, free: 49.48 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/0.5795, allocations: 1.15 MB / 476.6 MB, free: 48.6 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.585, allocations: 4.258 MB / 480.8 MB, free: 45.27 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/0.5882, allocations: 235.7 kB / 481.1 MB, free: 45.12 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007834/0.589, allocations: 210.4 kB / 481.3 MB, free: 44.96 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.002383/0.5914, allocations: 0.4893 MB / 481.8 MB, free: 44.7 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009796/0.5923, allocations: 357.3 kB / 482.1 MB, free: 44.4 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.5966, allocations: 2.777 MB / 484.9 MB, free: 42.07 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.5966, allocations: 40 kB / 484.9 MB, free: 42.04 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.5966, allocations: 18.19 kB / 484.9 MB, free: 42.02 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.5966, allocations: 27.86 kB / 485 MB, free: 41.99 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.6094, allocations: 7.539 MB / 492.5 MB, free: 36.27 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.6094, allocations: 4 kB / 492.5 MB, free: 36.26 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.6108, allocations: 0.5948 MB / 493.1 MB, free: 35.73 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.6123, allocations: 0.7501 MB / 493.9 MB, free: 35.01 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/0.6125, allocations: 86.91 kB / 493.9 MB, free: 34.98 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.6162, allocations: 3.841 MB / 497.8 MB, free: 31.96 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6163, allocations: 11.28 kB / 497.8 MB, free: 31.95 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/0.6206, allocations: 3.253 MB / 0.4893 GB, free: 28.84 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.6219, allocations: 485.5 kB / 0.4898 GB, free: 28.43 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/0.6223, allocations: 82.5 kB / 0.4898 GB, free: 28.4 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/0.6232, allocations: 105.5 kB / 0.4899 GB, free: 28.35 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/0.6236, allocations: 279.9 kB / 0.4902 GB, free: 28.11 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.6238, allocations: 85.84 kB / 0.4903 GB, free: 28.05 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001091/0.6249, allocations: 1.044 MB / 0.4913 GB, free: 27.18 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6249, allocations: 0 / 0.4913 GB, free: 27.18 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003836/0.6287, allocations: 1.446 MB / 0.4927 GB, free: 25.89 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.0004474/0.6291, allocations: 232.5 kB / 0.4929 GB, free: 25.75 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003722/0.6329, allocations: 3.073 MB / 0.4959 GB, free: 23.13 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001045/0.633, allocations: 59.94 kB / 0.496 GB, free: 23.06 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.6347, allocations: 1.649 MB / 0.4976 GB, free: 21.66 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.6368, allocations: 0.7426 MB / 0.4983 GB, free: 21.19 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.6497, allocations: 11.36 MB / 0.5094 GB, free: 10.73 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.6511, allocations: 1.501 MB / 0.5109 GB, free: 9.195 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001848/0.6529, allocations: 0.6503 MB / 0.5115 GB, free: 8.543 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/0.6543, allocations: 0.8154 MB / 0.5123 GB, free: 7.723 MB / 378.8 MB Notification: Performance of SimCode: time 1.853e-06/0.6543, allocations: 0 / 0.5123 GB, free: 7.723 MB / 378.8 MB Notification: Performance of Templates: time 0.07602/0.7303, allocations: 59.17 MB / 0.5701 GB, free: 13.43 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.371268974617124]