Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestGensetOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3200,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO") translateModel(EHPTlib.MapBased.TestingModels.TestGensetOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3200,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 106.9 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 193 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0423/0.0423, allocations: 8.572 MB / 299.3 MB, free: 6.316 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 67.89 kB / 361.5 MB, free: 8.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3289, allocations: 51.38 MB / 412.9 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestGensetOO): time 0.008072/0.337, allocations: 7.038 MB / 419.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005787/0.3428, allocations: 3.043 MB / 423 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.3445, allocations: 31.81 kB / 423 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.3456, allocations: 490.2 kB / 423.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.3472, allocations: 493.8 kB / 424 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.3495, allocations: 1.106 MB / 425.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.3516, allocations: 2.017 MB / 427.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.3527, allocations: 0.9201 MB / 428 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009366/0.3536, allocations: 0.7551 MB / 428.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.3544, allocations: 0.8754 MB / 429.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.3546, allocations: 220 kB / 429.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.3551, allocations: 335.9 kB / 430.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.3555, allocations: 0.5686 MB / 430.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.3562, allocations: 0.991 MB / 431.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.3579, allocations: 2.207 MB / 434 MB, free: 4.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3579, allocations: 0 / 434 MB, free: 4.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.358, allocations: 0 / 434 MB, free: 4.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.358, allocations: 3.938 kB / 434 MB, free: 4.41 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.00348/0.3615, allocations: 2.339 MB / 436.3 MB, free: 1.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3615, allocations: 11.89 kB / 436.3 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.3619, allocations: 214.3 kB / 436.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.3636, allocations: 1.29 MB / 437.8 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.3638, allocations: 127.9 kB / 437.9 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.3639, allocations: 124 kB / 438.1 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.3667, allocations: 1.274 MB / 439.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.3668, allocations: 3.906 kB / 439.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.3669, allocations: 59.92 kB / 439.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.3669, allocations: 28 kB / 439.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.3692, allocations: 0.9532 MB / 440.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.3793, allocations: 5.166 MB / 445.5 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.3818, allocations: 0.9649 MB / 446.5 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008625/0.3827, allocations: 370.3 kB / 446.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.468e-05/0.3828, allocations: 12.56 kB / 446.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/0.384, allocations: 490.3 kB / 447.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=71): time 2.404e-06/0.384, allocations: 0 / 447.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.008032/0.3921, allocations: 3.159 MB / 450.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/0.3923, allocations: 325.1 kB / 450.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/0.3959, allocations: 2.191 MB / 453 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.396, allocations: 45.7 kB / 453.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/0.397, allocations: 0.7992 MB / 453.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.3974, allocations: 248.5 kB / 454.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.3977, allocations: 202.4 kB / 454.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.398, allocations: 349.9 kB / 454.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009427/0.3989, allocations: 380.7 kB / 455 MB, free: 14.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.4002, allocations: 0.6193 MB / 455.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.4025, allocations: 1.074 MB / 456.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.4026, allocations: 4 kB / 456.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00306/0.4056, allocations: 1.294 MB / 458 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.4058, allocations: 97.09 kB / 458.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4059, allocations: 4 kB / 458.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/0.4061, allocations: 48.78 kB / 458.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/0.4069, allocations: 211.9 kB / 458.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.4087, allocations: 1.551 MB / 459.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.4099, allocations: 79.88 kB / 460 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4101, allocations: 43.98 kB / 460 MB, free: 9.223 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: genset.iceT.wSensor.flange.phi:VARIABLE(flow=false unit = "rad" fixed = true ) "Absolute rotation angle of flange" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001956/0.412, allocations: 0.7828 MB / 460.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/0.4131, allocations: 0.5686 MB / 461.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001746/0.4149, allocations: 0.9768 MB / 462.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.224e-06/0.4149, allocations: 4 kB / 462.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002772/0.4177, allocations: 1.201 MB / 463.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.4179, allocations: 89.11 kB / 463.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4179, allocations: 8 kB / 463.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.4181, allocations: 48.77 kB / 463.7 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/0.4188, allocations: 195.7 kB / 463.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.4203, allocations: 1.539 MB / 465.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/0.4213, allocations: 67.95 kB / 465.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.4214, allocations: 44.12 kB / 465.6 MB, free: 3.312 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: genset.iceT.wSensor.flange.phi:VARIABLE(flow=false unit = "rad" fixed = true ) "Absolute rotation angle of flange" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (booleanStep.y,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,genset.gen.limTau.state,genset.gen.limitingTorque,$whenCondition1,genset.toFuelGrams.local_reset,genset.iceT.tokgFuel.local_reset,genset.gen.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 3 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005383/0.422, allocations: 320.2 kB / 465.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/0.4223, allocations: 165.9 kB / 466 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.4249, allocations: 1.009 MB / 467 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4249, allocations: 8 kB / 467 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4249, allocations: 3.938 kB / 467.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4249, allocations: 3.984 kB / 467.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.4298, allocations: 2.566 MB / 469.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4298, allocations: 8 kB / 469.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.4305, allocations: 135.8 kB / 469.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.4306, allocations: 40.83 kB / 469.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.4307, allocations: 16 kB / 469.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.4324, allocations: 1.551 MB / 471.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4324, allocations: 3.938 kB / 471.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.4359, allocations: 1.527 MB / 472.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007184/0.4366, allocations: 331.2 kB / 473.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.4368, allocations: 24 kB / 473.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.4375, allocations: 72.05 kB / 473.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.4377, allocations: 56.58 kB / 473.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.4377, allocations: 24 kB / 473.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002706/0.4404, allocations: 1.545 MB / 474.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4405, allocations: 4 kB / 474.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001756/0.4422, allocations: 467.9 kB / 475.4 MB, free: 9.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (genset.gen.pDC.integrator1.y,genset.iceT.inertia.w,genset.iceT.wSensor.flange.phi,genset.iceT.tokgFuel.y,genset.toFuelGrams.y) * Number of discrete variables: 6 ($whenCondition1,genset.gen.limitingTorque,genset.gen.limTau.state,trapezoid.T_start,trapezoid.count,booleanStep.y) * Number of discrete states: 2 (trapezoid.count,genset.gen.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002906/0.4451, allocations: 0.7036 MB / 476.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004594/0.4497, allocations: 2.044 MB / 478.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4498, allocations: 320 / 478.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.451, allocations: 0.6534 MB / 478.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.4526, allocations: 257 kB / 479.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/0.4593, allocations: 3.934 MB / 483 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.4606, allocations: 1.35 MB / 484.3 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.4611, allocations: 103.4 kB / 484.4 MB, free: 232 kB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4611, allocations: 0 / 484.4 MB, free: 232 kB / 350.1 MB Notification: Performance of Templates: time 0.03976/0.5008, allocations: 28.6 MB / 0.501 GB, free: 3.621 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensetOO.pipe 2>&1)