Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 177.9 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.7 MB / 243.2 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007554/0.0007554, allocations: 97.52 kB / 294.4 MB, free: 9.746 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3176/0.3176, allocations: 38.12 MB / 383.6 MB, free: 40.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 8 kB / 453.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3695, allocations: 59.13 MB / 0.5006 GB, free: 39.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.007454/0.377, allocations: 5.238 MB / 0.5057 GB, free: 38.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.3829, allocations: 3.26 MB / 0.5089 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009608/0.3839, allocations: 33.53 kB / 0.5089 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.3845, allocations: 104.2 kB / 0.509 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009529/0.3854, allocations: 305.7 kB / 0.5093 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3867, allocations: 481.2 kB / 0.5098 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.3882, allocations: 1.131 MB / 0.5109 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.3895, allocations: 0.8651 MB / 0.5117 GB, free: 33.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.3901, allocations: 307.2 kB / 0.512 GB, free: 33.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.3907, allocations: 333.1 kB / 0.5123 GB, free: 33.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.615e-05/0.3908, allocations: 24.5 kB / 0.5124 GB, free: 33.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000821/0.3916, allocations: 363.5 kB / 0.5127 GB, free: 33.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.3918, allocations: 148.9 kB / 0.5128 GB, free: 33.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.3922, allocations: 349 kB / 0.5132 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3932, allocations: 1.011 MB / 0.5142 GB, free: 32.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3932, allocations: 0 / 0.5142 GB, free: 32.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3932, allocations: 1.219 kB / 0.5142 GB, free: 32.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3933, allocations: 0.7188 kB / 0.5142 GB, free: 32.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002027/0.3953, allocations: 1.005 MB / 0.5152 GB, free: 32.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3954, allocations: 8.875 kB / 0.5152 GB, free: 32.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/0.3962, allocations: 166.4 kB / 0.5153 GB, free: 32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008167/0.397, allocations: 0.5779 MB / 0.5159 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.397, allocations: 48.22 kB / 0.5159 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3971, allocations: 68.36 kB / 0.516 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3984, allocations: 0.7825 MB / 0.5168 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3985, allocations: 0 / 0.5168 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.3985, allocations: 24.03 kB / 0.5168 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.3986, allocations: 35.59 kB / 0.5168 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3998, allocations: 0.6817 MB / 0.5175 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.4037, allocations: 2.951 MB / 0.5204 GB, free: 29.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.4051, allocations: 0.7651 MB / 0.5211 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.4056, allocations: 262.4 kB / 0.5214 GB, free: 28.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.4057, allocations: 10.22 kB / 0.5214 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4057, allocations: 37.56 kB / 0.5214 GB, free: 28.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/0.4057, allocations: 0 / 0.5214 GB, free: 28.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.001546/0.4072, allocations: 0.7961 MB / 0.5222 GB, free: 28.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.4073, allocations: 109.1 kB / 0.5223 GB, free: 28.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.408, allocations: 0.5788 MB / 0.5229 GB, free: 27.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.408, allocations: 36.39 kB / 0.5229 GB, free: 27.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.4082, allocations: 354.5 kB / 0.5232 GB, free: 27.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.4083, allocations: 185.9 kB / 0.5234 GB, free: 27.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.4084, allocations: 10.81 kB / 0.5234 GB, free: 27.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4085, allocations: 377 kB / 0.5238 GB, free: 27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.4089, allocations: 237.7 kB / 0.524 GB, free: 26.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.4095, allocations: 378 kB / 0.5244 GB, free: 26.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009966/0.4105, allocations: 0.6055 MB / 0.525 GB, free: 26.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4105, allocations: 0 / 0.525 GB, free: 26.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001605/0.4121, allocations: 0.8764 MB / 0.5258 GB, free: 26.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.894e-05/0.4122, allocations: 194.5 kB / 0.526 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4123, allocations: 3.094 kB / 0.526 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.4126, allocations: 116.9 kB / 0.5261 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.4132, allocations: 152.8 kB / 0.5263 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.4155, allocations: 2.234 MB / 0.5284 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.4159, allocations: 104.1 kB / 0.5285 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.416, allocations: 20.09 kB / 0.5286 GB, free: 23.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.57e-06/0.416, allocations: 3.188 kB / 0.5286 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/0.4172, allocations: 0.675 MB / 0.5292 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4172, allocations: 6 kB / 0.5292 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.4174, allocations: 97.75 kB / 0.5293 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.418, allocations: 141.9 kB / 0.5294 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4195, allocations: 2.029 MB / 0.5314 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.42, allocations: 84.09 kB / 0.5315 GB, free: 21.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.42, allocations: 25.78 kB / 0.5315 GB, free: 21.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.4204, allocations: 303.5 kB / 0.5318 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.04e-05/0.4205, allocations: 76.3 kB / 0.5319 GB, free: 21.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.4217, allocations: 0.6221 MB / 0.5325 GB, free: 21.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4217, allocations: 6.188 kB / 0.5325 GB, free: 21.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4217, allocations: 2.875 kB / 0.5325 GB, free: 21.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4217, allocations: 7.172 kB / 0.5325 GB, free: 21.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.4235, allocations: 1.389 MB / 0.5339 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4236, allocations: 0 / 0.5339 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.4241, allocations: 126.2 kB / 0.534 GB, free: 20.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4241, allocations: 3.156 kB / 0.534 GB, free: 20.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.4242, allocations: 14.91 kB / 0.534 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4242, allocations: 6.328 kB / 0.534 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4242, allocations: 0 / 0.534 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.4257, allocations: 0.9992 MB / 0.535 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.4259, allocations: 196.7 kB / 0.5352 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.426, allocations: 7.156 kB / 0.5352 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.4264, allocations: 56.38 kB / 0.5352 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4265, allocations: 36.72 kB / 0.5353 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.4265, allocations: 20 kB / 0.5353 GB, free: 19.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005091/0.427, allocations: 414.5 kB / 0.5357 GB, free: 19.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.427, allocations: 0 / 0.5357 GB, free: 19.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008219/0.4279, allocations: 268 kB / 0.5359 GB, free: 19.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.428, allocations: 118.8 kB / 0.5361 GB, free: 19.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.4299, allocations: 1.17 MB / 0.5372 GB, free: 18.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4299, allocations: 2.781 kB / 0.5372 GB, free: 18.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.4305, allocations: 293.7 kB / 0.5375 GB, free: 18.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.4312, allocations: 129.1 kB / 0.5376 GB, free: 18.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.4337, allocations: 1.893 MB / 0.5395 GB, free: 17.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.4342, allocations: 0.9455 MB / 0.5404 GB, free: 16.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004579/0.4346, allocations: 122.2 kB / 0.5405 GB, free: 16.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.4348, allocations: 44.88 kB / 0.5405 GB, free: 16.93 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4348, allocations: 0 / 0.5405 GB, free: 16.93 MB / 378.7 MB Notification: Performance of Templates: time 0.01498/0.4498, allocations: 7.769 MB / 0.5481 GB, free: 16.37 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1)