Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.000981/0.000981, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002321, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9419/0.9419, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1747/1.117, allocations: 53.65 MB / 241.9 MB, free: 2.727 MB / 234.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.00136/0.00136, allocations: 160.1 kB / 242.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.003006, allocations: 470.7 kB / 243.2 MB, free: 1.418 MB / 234.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.02456/0.02456, allocations: 6.646 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005025/0.02958, allocations: 2.663 MB / 253.3 MB, free: 7.57 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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 254.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.084e-05, allocations: 2.312 kB / 254.6 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.01928/0.01931, allocations: 24.24 MB / 278.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.036, allocations: 8.334 MB / 287.2 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.04106, allocations: 203 kB / 287.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.05154, allocations: 8.105 MB / 295.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009176/0.06072, allocations: 3.165 MB / 298.7 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005479/0.0662, allocations: 2.033 MB / 300.7 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01126/0.07746, allocations: 9.749 MB / 310.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01692/0.09438, allocations: 11.25 MB / 321.7 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1544/0.2488, allocations: 7.55 MB / 329.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008643/0.2574, allocations: 5.119 MB / 334.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003587/0.261, allocations: 1.353 MB / 335.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005248/0.2663, allocations: 1.751 MB / 337.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003648/0.2699, allocations: 2.212 MB / 339.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008737/0.2787, allocations: 2.888 MB / 342.6 MB, free: 16.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.2901, allocations: 8.117 MB / 350.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.2901, allocations: 1.312 kB / 350.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2901, allocations: 0 / 350.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004001/0.2905, allocations: 0 / 350.7 MB, free: 15.68 MB / 314.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.01824/0.3088, allocations: 11.86 MB / 362.5 MB, free: 7.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3088, allocations: 8.031 kB / 362.5 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.3244, allocations: 5.812 MB / 368.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006974/0.3314, allocations: 3.132 MB / 371.5 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.3317, allocations: 0.5786 MB / 372.1 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002209/0.3339, allocations: 0.7717 MB / 372.8 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.347, allocations: 6.445 MB / 379.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.3471, allocations: 11.78 kB / 379.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008968/0.348, allocations: 325.9 kB / 379.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003357/0.3484, allocations: 0.4928 MB / 380.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008088/0.3564, allocations: 3.325 MB / 383.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04248/0.3989, allocations: 25.77 MB / 409.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006649/0.4056, allocations: 5.32 MB / 414.5 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.407, allocations: 0.9973 MB / 415.5 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.4072, allocations: 129.2 kB / 415.6 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/0.4087, allocations: 1.512 MB / 417.2 MB, free: 5.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=391): time 6.372e-06/0.4087, allocations: 0 / 417.2 MB, free: 5.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.01373/0.4224, allocations: 7.193 MB / 424.4 MB, free: 13.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.4225, allocations: 201.2 kB / 424.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.4247, allocations: 2.255 MB / 426.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.4249, allocations: 93.7 kB / 426.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.4261, allocations: 3.188 MB / 430.1 MB, free: 8.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007889/0.4269, allocations: 1.4 MB / 431.5 MB, free: 7.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009797/0.4279, allocations: 1.013 MB / 432.5 MB, free: 6.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.4279, allocations: 301.1 kB / 432.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000973/0.4289, allocations: 0.735 MB / 433.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.4306, allocations: 2.707 MB / 436.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.4337, allocations: 3.772 MB / 440 MB, free: 13.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-05/0.4338, allocations: 20 kB / 440 MB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.004916/0.4387, allocations: 3.669 MB / 443.7 MB, free: 10.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.4387, allocations: 56.2 kB / 443.7 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.489e-05/0.4388, allocations: 70.67 kB / 443.8 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.4407, allocations: 0.8582 MB / 444.7 MB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.4437, allocations: 1.335 MB / 446 MB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/0.449, allocations: 4.293 MB / 450.3 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.4519, allocations: 227.7 kB / 450.5 MB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000562/0.4525, allocations: 220 kB / 450.7 MB, free: 3.504 MB / 394.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.001793/0.4543, allocations: 0.4913 MB / 451.2 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006841/0.4549, allocations: 351.3 kB / 451.6 MB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/0.4586, allocations: 2.776 MB / 454.4 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/0.4586, allocations: 40.05 kB / 454.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.4586, allocations: 11.94 kB / 454.4 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.4587, allocations: 23.88 kB / 454.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.4703, allocations: 7.563 MB / 462 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.4703, allocations: 8 kB / 462 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/0.4725, allocations: 0.7053 MB / 462.7 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/0.474, allocations: 484.4 kB / 463.2 MB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.476, allocations: 0.7507 MB / 463.9 MB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.4762, allocations: 79.97 kB / 464 MB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/0.4818, allocations: 3.878 MB / 467.9 MB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.4818, allocations: 4 kB / 467.9 MB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.4875, allocations: 3.255 MB / 471.1 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008093/0.4883, allocations: 83.45 kB / 471.2 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.4896, allocations: 95.98 kB / 471.3 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004906/0.4901, allocations: 286.5 kB / 471.6 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/0.4903, allocations: 75.97 kB / 471.7 MB, free: 15.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001462/0.4918, allocations: 1.044 MB / 472.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4918, allocations: 0 / 472.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004428/0.4962, allocations: 1.449 MB / 474.2 MB, free: 13.2 MB / 426.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.0004927/0.4967, allocations: 251.9 kB / 474.4 MB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008368/0.5051, allocations: 3.083 MB / 477.5 MB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002649/0.5053, allocations: 87.81 kB / 477.6 MB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005797/0.5111, allocations: 1.646 MB / 479.2 MB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006421/0.5175, allocations: 1.062 MB / 480.3 MB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1727/0.6902, allocations: 11.77 MB / 492.1 MB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/0.6931, allocations: 1.522 MB / 493.6 MB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0023/0.6954, allocations: 0.6465 MB / 494.2 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/0.697, allocations: 0.8144 MB / 495 MB, free: 114.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.054e-06/0.697, allocations: 1.344 kB / 495 MB, free: 114.8 MB / 426.7 MB Notification: Performance of Templates: time 0.07728/0.7742, allocations: 61.21 MB / 0.5432 GB, free: 78.86 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.448792094364762]