Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 178.4 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.54/1.54, allocations: 225.7 MB / 243.2 MB, free: 8.48 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.0007736/0.0007737, allocations: 98.73 kB / 294.4 MB, free: 9.527 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.326/0.326, allocations: 38.12 MB / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 8 kB / 453.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3579, allocations: 59.14 MB / 0.5006 GB, free: 39.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.008562/0.3665, allocations: 5.849 MB / 0.5063 GB, free: 37.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00619/0.3727, allocations: 4.543 MB / 0.5108 GB, free: 33.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008238/0.3736, allocations: 37.03 kB / 0.5108 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.3742, allocations: 112.7 kB / 0.5109 GB, free: 33.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.3754, allocations: 423.7 kB / 0.5113 GB, free: 33.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3767, allocations: 0.5029 MB / 0.5118 GB, free: 32.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.3782, allocations: 1.394 MB / 0.5131 GB, free: 32.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.3795, allocations: 1.071 MB / 0.5142 GB, free: 31.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.3799, allocations: 360.4 kB / 0.5145 GB, free: 31.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.3804, allocations: 403.2 kB / 0.5149 GB, free: 31.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/0.3804, allocations: 28.84 kB / 0.515 GB, free: 31.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008556/0.3813, allocations: 0.5505 MB / 0.5155 GB, free: 31.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.3815, allocations: 196.8 kB / 0.5157 GB, free: 30.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.3818, allocations: 377.4 kB / 0.516 GB, free: 30.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.3828, allocations: 1.177 MB / 0.5172 GB, free: 30.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3829, allocations: 0.6562 kB / 0.5172 GB, free: 30.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3829, allocations: 0 / 0.5172 GB, free: 30.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3829, allocations: 0.5938 kB / 0.5172 GB, free: 30.31 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001796/0.3847, allocations: 1.064 MB / 0.5182 GB, free: 29.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3847, allocations: 10.84 kB / 0.5182 GB, free: 29.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.3858, allocations: 202.6 kB / 0.5184 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.3867, allocations: 0.5996 MB / 0.519 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.3868, allocations: 57.89 kB / 0.5191 GB, free: 29.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.3869, allocations: 76.89 kB / 0.5191 GB, free: 29.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.3884, allocations: 0.8857 MB / 0.52 GB, free: 28.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3884, allocations: 6.109 kB / 0.52 GB, free: 28.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.3885, allocations: 25.5 kB / 0.52 GB, free: 28.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.3885, allocations: 38.89 kB / 0.5201 GB, free: 28.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.3898, allocations: 0.8029 MB / 0.5209 GB, free: 28.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.3937, allocations: 3.283 MB / 0.5241 GB, free: 26.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.3951, allocations: 0.9972 MB / 0.525 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.3957, allocations: 322.6 kB / 0.5253 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.3957, allocations: 17.75 kB / 0.5254 GB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3957, allocations: 38.16 kB / 0.5254 GB, free: 25.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.756e-06/0.3958, allocations: 0 / 0.5254 GB, free: 25.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.004203/0.4, allocations: 2.603 MB / 0.5279 GB, free: 24.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4, allocations: 109.8 kB / 0.528 GB, free: 24.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.4007, allocations: 0.5857 MB / 0.5286 GB, free: 23.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4007, allocations: 36.89 kB / 0.5287 GB, free: 23.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4009, allocations: 365.8 kB / 0.529 GB, free: 23.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.401, allocations: 215.6 kB / 0.5292 GB, free: 23.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.4011, allocations: 19.06 kB / 0.5292 GB, free: 23.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.4012, allocations: 378 kB / 0.5296 GB, free: 22.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.4017, allocations: 281.4 kB / 0.5299 GB, free: 22.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.4022, allocations: 422.5 kB / 0.5303 GB, free: 22.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.4033, allocations: 0.7143 MB / 0.531 GB, free: 22.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4033, allocations: 3.031 kB / 0.531 GB, free: 22.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001391/0.4047, allocations: 0.8512 MB / 0.5318 GB, free: 21.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.082e-05/0.4048, allocations: 212.2 kB / 0.532 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4048, allocations: 3.344 kB / 0.532 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.405, allocations: 63.39 kB / 0.5321 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.4057, allocations: 180.1 kB / 0.5322 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.4069, allocations: 1.62 MB / 0.5338 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.4074, allocations: 62.61 kB / 0.5339 GB, free: 20.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.4075, allocations: 31.84 kB / 0.5339 GB, free: 20.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.4075, allocations: 3.438 kB / 0.5339 GB, free: 20.04 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/0.4088, allocations: 0.7312 MB / 0.5346 GB, free: 19.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4088, allocations: 7.219 kB / 0.5346 GB, free: 19.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.409, allocations: 59.47 kB / 0.5347 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.4097, allocations: 184.1 kB / 0.5349 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.4107, allocations: 1.627 MB / 0.5364 GB, free: 18.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.4111, allocations: 54.55 kB / 0.5365 GB, free: 18.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.4112, allocations: 23.69 kB / 0.5365 GB, free: 18.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.4115, allocations: 327 kB / 0.5368 GB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.4116, allocations: 74.66 kB / 0.5369 GB, free: 17.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.413, allocations: 0.7906 MB / 0.5377 GB, free: 17.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.413, allocations: 6.75 kB / 0.5377 GB, free: 17.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.413, allocations: 0 / 0.5377 GB, free: 17.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.413, allocations: 11.2 kB / 0.5377 GB, free: 17.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.4164, allocations: 2.185 MB / 0.5398 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4164, allocations: 6.281 kB / 0.5398 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.4169, allocations: 136.2 kB / 0.54 GB, free: 16.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.4171, allocations: 61.45 kB / 0.54 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.4172, allocations: 20.34 kB / 0.54 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009779/0.4182, allocations: 1.587 MB / 0.5416 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.4182, allocations: 10.88 kB / 0.5416 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.42, allocations: 1.355 MB / 0.5429 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.4203, allocations: 203.7 kB / 0.5431 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/0.4204, allocations: 20.84 kB / 0.5431 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.4208, allocations: 59.12 kB / 0.5432 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4209, allocations: 73.55 kB / 0.5433 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.421, allocations: 27.58 kB / 0.5433 GB, free: 13.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005002/0.4215, allocations: 422 kB / 0.5437 GB, free: 13.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4215, allocations: 0 / 0.5437 GB, free: 13.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009385/0.4224, allocations: 252.4 kB / 0.5439 GB, free: 13.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.4226, allocations: 133.9 kB / 0.5441 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.4246, allocations: 1.277 MB / 0.5453 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4246, allocations: 0.6875 kB / 0.5453 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.4254, allocations: 0.5282 MB / 0.5458 GB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.4266, allocations: 155.7 kB / 0.546 GB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.429, allocations: 2.088 MB / 0.548 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.4295, allocations: 0.9869 MB / 0.549 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005233/0.43, allocations: 139.7 kB / 0.5491 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.4302, allocations: 50.25 kB / 0.5492 GB, free: 10.6 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4302, allocations: 3.938 kB / 0.5492 GB, free: 10.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01594/0.4462, allocations: 7.868 MB / 0.5568 GB, free: 9.387 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)