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.001443/0.001443, allocations: 76.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.8861/0.8861, allocations: 177.2 MB / 200.3 MB, free: 5.398 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.001123/0.001123, allocations: 155.4 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.02375/0.02375, allocations: 6.662 MB / 266.9 MB, free: 3.09 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_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.703e-06/1.703e-06, allocations: 0 / 285.7 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.356e-05, allocations: 10.19 kB / 285.7 MB, free: 316 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.1219/0.1219, allocations: 24.02 MB / 309.7 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.1356, allocations: 8.264 MB / 318 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00427/0.1399, allocations: 203.1 kB / 318.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009787/0.1497, allocations: 8.15 MB / 326.3 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008333/0.158, allocations: 3.198 MB / 329.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.1622, allocations: 2.058 MB / 331.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.1723, allocations: 9.701 MB / 341.3 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/0.1873, allocations: 11.58 MB / 352.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009849/0.1972, allocations: 7.278 MB / 360.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006675/0.2039, allocations: 5.119 MB / 365.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002389/0.2062, allocations: 1.348 MB / 366.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.2098, allocations: 1.733 MB / 368.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.2124, allocations: 2.766 MB / 371.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005384/0.2177, allocations: 3.45 MB / 374.6 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.2287, allocations: 8.597 MB / 383.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2287, allocations: 0 / 383.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2287, allocations: 0 / 383.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003011/0.229, allocations: 0 / 383.2 MB, free: 12.73 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.01635/0.2454, allocations: 10.16 MB / 393.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2454, allocations: 16.03 kB / 393.3 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/0.2617, allocations: 5.803 MB / 399.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007309/0.269, allocations: 3.136 MB / 402.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.2694, allocations: 0.578 MB / 402.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.2712, allocations: 0.7694 MB / 403.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009443/0.2806, allocations: 6.447 MB / 410.1 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.2808, allocations: 11.94 kB / 410.1 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005523/0.2813, allocations: 323.9 kB / 410.4 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000337/0.2816, allocations: 0.4967 MB / 410.9 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005796/0.2874, allocations: 3.327 MB / 414.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1644/0.4519, allocations: 25.63 MB / 439.9 MB, free: 64.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006239/0.4581, allocations: 5.324 MB / 445.2 MB, free: 64.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.4593, allocations: 0.9949 MB / 446.2 MB, free: 64.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.4595, allocations: 129.5 kB / 446.3 MB, free: 64.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.4607, allocations: 1.512 MB / 447.8 MB, free: 63.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=391): time 7.274e-06/0.4607, allocations: 3.219 kB / 447.8 MB, free: 63.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=397): time 0.01239/0.4731, allocations: 7.194 MB / 455 MB, free: 62.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.4731, allocations: 353.3 kB / 455.4 MB, free: 62.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.4749, allocations: 2.249 MB / 457.6 MB, free: 62.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.4751, allocations: 89.58 kB / 457.7 MB, free: 62.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009041/0.476, allocations: 3.189 MB / 460.9 MB, free: 60.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006193/0.4766, allocations: 1.398 MB / 462.3 MB, free: 59.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009935/0.4776, allocations: 1.009 MB / 463.3 MB, free: 59.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.661e-05/0.4776, allocations: 305 kB / 463.6 MB, free: 58.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009012/0.4785, allocations: 0.74 MB / 464.3 MB, free: 58.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.4798, allocations: 2.706 MB / 467 MB, free: 56.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.4823, allocations: 3.771 MB / 470.8 MB, free: 53.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-05/0.4824, allocations: 18.52 kB / 470.8 MB, free: 53.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.004007/0.4864, allocations: 3.668 MB / 474.5 MB, free: 51.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.4864, allocations: 57.7 kB / 474.6 MB, free: 51.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-05/0.4865, allocations: 60 kB / 474.6 MB, free: 51.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.488, allocations: 0.8688 MB / 475.5 MB, free: 50.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.4901, allocations: 1.145 MB / 476.6 MB, free: 49.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.4953, allocations: 4.262 MB / 480.9 MB, free: 46.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.4978, allocations: 227.5 kB / 481.1 MB, free: 46.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.4981, allocations: 213.6 kB / 481.3 MB, free: 46.14 MB / 378.7 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.001588/0.4997, allocations: 0.4995 MB / 481.8 MB, free: 45.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/0.5003, allocations: 346.7 kB / 482.2 MB, free: 45.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.5043, allocations: 2.782 MB / 484.9 MB, free: 43.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.5043, allocations: 44 kB / 485 MB, free: 43.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.5043, allocations: 8 kB / 485 MB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/0.5043, allocations: 23.86 kB / 485 MB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.5153, allocations: 7.553 MB / 492.6 MB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.5153, allocations: 4 kB / 492.6 MB, free: 37.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.517, allocations: 0.6008 MB / 493.2 MB, free: 36.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.5188, allocations: 0.7455 MB / 493.9 MB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.519, allocations: 84.34 kB / 494 MB, free: 36.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004426/0.5234, allocations: 3.85 MB / 497.8 MB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5234, allocations: 7.375 kB / 497.9 MB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/0.528, allocations: 3.256 MB / 0.4894 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.5291, allocations: 487.2 kB / 0.4898 GB, free: 29.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.5295, allocations: 80.98 kB / 0.4899 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.5306, allocations: 100.6 kB / 0.49 GB, free: 29.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/0.531, allocations: 281.8 kB / 0.4903 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/0.5312, allocations: 79.03 kB / 0.4903 GB, free: 29.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001123/0.5323, allocations: 1.04 MB / 0.4914 GB, free: 28.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5323, allocations: 4 kB / 0.4914 GB, free: 28.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003593/0.5359, allocations: 1.451 MB / 0.4928 GB, free: 27.07 MB / 378.7 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.0003732/0.5363, allocations: 231.8 kB / 0.493 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.5394, allocations: 3.078 MB / 0.496 GB, free: 24.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-05/0.5395, allocations: 59.94 kB / 0.4961 GB, free: 24.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.541, allocations: 1.641 MB / 0.4977 GB, free: 22.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.5426, allocations: 0.7433 MB / 0.4984 GB, free: 22.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.5557, allocations: 11.35 MB / 0.5095 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.557, allocations: 1.518 MB / 0.511 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001805/0.5588, allocations: 0.6478 MB / 0.5116 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/0.5602, allocations: 0.8175 MB / 0.5124 GB, free: 9.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/0.5602, allocations: 0 / 0.5124 GB, free: 9.008 MB / 378.7 MB Notification: Performance of Templates: time 0.1878/0.7479, allocations: 59.17 MB / 0.5702 GB, free: 120.7 MB / 426.7 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: 4.282055888324976]