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.0008374/0.0008374, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001911, 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.9015/0.9015, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1762/1.078, allocations: 53.64 MB / 241.9 MB, free: 2.754 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.001231/0.001231, allocations: 143.9 kB / 242.7 MB, free: 1.895 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004688/0.005919, allocations: 486.6 kB / 243.2 MB, free: 1.438 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.04688/0.04688, allocations: 6.653 MB / 250.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004995/0.05187, allocations: 2.666 MB / 253.3 MB, free: 7.578 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.072e-06/1.072e-06, allocations: 0 / 254.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.406e-05, allocations: 8.422 kB / 254.6 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.02661/0.02664, allocations: 24.22 MB / 278.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.04565, allocations: 8.334 MB / 287.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006979/0.05263, allocations: 199.1 kB / 287.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01528/0.06791, allocations: 8.105 MB / 295.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009823/0.07773, allocations: 3.165 MB / 298.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.08156, allocations: 2.031 MB / 300.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009746/0.09131, allocations: 9.752 MB / 310.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.104, allocations: 11.25 MB / 321.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1441/0.2482, allocations: 7.551 MB / 329.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006284/0.2544, allocations: 5.121 MB / 334.3 MB, free: 16.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002356/0.2568, allocations: 1.35 MB / 335.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.2593, allocations: 1.754 MB / 337.4 MB, free: 16.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.2606, allocations: 2.207 MB / 339.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002881/0.2635, allocations: 2.89 MB / 342.5 MB, free: 16.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.2697, allocations: 8.117 MB / 350.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.2697, allocations: 4.469 kB / 350.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2697, allocations: 0 / 350.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003198/0.27, allocations: 2.062 kB / 350.6 MB, free: 15.94 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.01434/0.2843, allocations: 11.85 MB / 362.5 MB, free: 8.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.2844, allocations: 13.81 kB / 362.5 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.2985, allocations: 5.811 MB / 368.3 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004723/0.3033, allocations: 3.129 MB / 371.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.3035, allocations: 0.5801 MB / 372 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000783/0.3043, allocations: 0.7734 MB / 372.8 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007866/0.3121, allocations: 6.441 MB / 379.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/0.3122, allocations: 10.84 kB / 379.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005704/0.3128, allocations: 318.9 kB / 379.6 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003283/0.3131, allocations: 0.499 MB / 380.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00499/0.3181, allocations: 3.329 MB / 383.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02697/0.3451, allocations: 25.77 MB / 409.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006271/0.3514, allocations: 5.321 MB / 414.5 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.3524, allocations: 0.9968 MB / 415.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.3527, allocations: 127 kB / 415.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.354, allocations: 1.512 MB / 417.1 MB, free: 5.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=391): time 6.121e-06/0.354, allocations: 8 kB / 417.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.01249/0.3665, allocations: 7.187 MB / 424.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.3666, allocations: 201.3 kB / 424.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.3684, allocations: 2.252 MB / 426.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.3686, allocations: 93.7 kB / 426.8 MB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.37, allocations: 3.185 MB / 430 MB, free: 8.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007434/0.3708, allocations: 1.399 MB / 431.4 MB, free: 7.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009509/0.3717, allocations: 1.007 MB / 432.4 MB, free: 6.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.3718, allocations: 305.1 kB / 432.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009192/0.3727, allocations: 0.735 MB / 433.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.3745, allocations: 2.712 MB / 436.2 MB, free: 2.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.3775, allocations: 3.775 MB / 440 MB, free: 13.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/0.3775, allocations: 16 kB / 440 MB, free: 13.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0044/0.3819, allocations: 3.668 MB / 443.6 MB, free: 10.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.382, allocations: 57.7 kB / 443.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.132e-05/0.382, allocations: 66.78 kB / 443.8 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.3836, allocations: 0.8609 MB / 444.6 MB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.386, allocations: 1.33 MB / 445.9 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/0.3905, allocations: 4.298 MB / 450.2 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.3922, allocations: 235.8 kB / 450.5 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/0.3925, allocations: 212 kB / 450.7 MB, free: 3.703 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.001511/0.394, allocations: 0.5004 MB / 451.2 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00043/0.3944, allocations: 343.7 kB / 451.5 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/0.3979, allocations: 2.775 MB / 454.3 MB, free: 212 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.3979, allocations: 44 kB / 454.3 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.3979, allocations: 11.94 kB / 454.4 MB, free: 156 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.3979, allocations: 19.92 kB / 454.4 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009503/0.4074, allocations: 7.565 MB / 461.9 MB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4075, allocations: 4 kB / 461.9 MB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.409, allocations: 0.7088 MB / 462.6 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/0.4098, allocations: 481.3 kB / 463.1 MB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.4112, allocations: 0.7591 MB / 463.9 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.4113, allocations: 79.97 kB / 464 MB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/0.4154, allocations: 3.882 MB / 467.8 MB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4154, allocations: 4 kB / 467.8 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/0.4198, allocations: 3.254 MB / 471.1 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006168/0.4205, allocations: 79.98 kB / 471.2 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.4216, allocations: 95.98 kB / 471.3 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/0.422, allocations: 283.4 kB / 471.5 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.4221, allocations: 87.81 kB / 471.6 MB, free: 15.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.4233, allocations: 1.044 MB / 472.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4233, allocations: 0 / 472.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004455/0.4277, allocations: 1.449 MB / 474.1 MB, free: 13.38 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.0005479/0.4283, allocations: 238.8 kB / 474.4 MB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004672/0.4329, allocations: 3.087 MB / 477.4 MB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002521/0.4332, allocations: 91.81 kB / 477.5 MB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.4355, allocations: 1.641 MB / 479.2 MB, free: 8.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.4383, allocations: 1.058 MB / 480.2 MB, free: 7.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.199/0.6374, allocations: 11.77 MB / 492 MB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.6398, allocations: 1.526 MB / 493.5 MB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00228/0.6421, allocations: 0.6476 MB / 494.2 MB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/0.6437, allocations: 0.8152 MB / 495 MB, free: 114.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.224e-06/0.6437, allocations: 0 / 495 MB, free: 114.8 MB / 426.7 MB Notification: Performance of Templates: time 0.07566/0.7194, allocations: 61.21 MB / 0.5432 GB, free: 78.94 MB / 426.7 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.478247031569481]