Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000962/0.000962, allocations: 183.4 kB / 16.71 MB, free: 4.969 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.355/1.355, allocations: 225.7 MB / 243.2 MB, free: 8.465 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.0008018/0.0008019, allocations: 95.59 kB / 294.4 MB, free: 9.496 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.2978/0.2978, allocations: 38.12 MB / 383.6 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 8.219 kB / 453.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3025, allocations: 59.14 MB / 0.5006 GB, free: 38.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009545/0.3121, allocations: 8.374 MB / 0.5088 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005459/0.3176, allocations: 4.194 MB / 0.5129 GB, free: 32.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.3188, allocations: 60.34 kB / 0.5129 GB, free: 32.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.3195, allocations: 212.2 kB / 0.5131 GB, free: 31.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.3208, allocations: 483.6 kB / 0.5136 GB, free: 31.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.322, allocations: 402.4 kB / 0.514 GB, free: 31.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.3236, allocations: 1.944 MB / 0.5159 GB, free: 30.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.3251, allocations: 1.62 MB / 0.5175 GB, free: 29.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.3257, allocations: 469 kB / 0.5179 GB, free: 29.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.3265, allocations: 0.6383 MB / 0.5185 GB, free: 29.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.506e-05/0.3266, allocations: 37.47 kB / 0.5186 GB, free: 29.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.327, allocations: 187.3 kB / 0.5187 GB, free: 29.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.3274, allocations: 444.3 kB / 0.5192 GB, free: 29.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000508/0.3279, allocations: 0.4937 MB / 0.5196 GB, free: 28.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.329, allocations: 1.181 MB / 0.5208 GB, free: 28.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.329, allocations: 3.094 kB / 0.5208 GB, free: 28.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.329, allocations: 0 / 0.5208 GB, free: 28.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.329, allocations: 0 / 0.5208 GB, free: 28.39 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00174/0.3308, allocations: 1.13 MB / 0.5219 GB, free: 27.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3308, allocations: 13.25 kB / 0.5219 GB, free: 27.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.3316, allocations: 165.4 kB / 0.5221 GB, free: 27.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.3325, allocations: 0.6833 MB / 0.5227 GB, free: 27.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.3326, allocations: 62.91 kB / 0.5228 GB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.3327, allocations: 86.67 kB / 0.5229 GB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.3341, allocations: 1.175 MB / 0.524 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.3341, allocations: 3 kB / 0.524 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/0.3342, allocations: 32.91 kB / 0.5241 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.3343, allocations: 62.03 kB / 0.5241 GB, free: 26.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3354, allocations: 0.9214 MB / 0.525 GB, free: 26.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.3393, allocations: 4.817 MB / 0.5297 GB, free: 22.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.3402, allocations: 0.6661 MB / 0.5304 GB, free: 22.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.3406, allocations: 375.7 kB / 0.5307 GB, free: 22.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.3407, allocations: 14.58 kB / 0.5308 GB, free: 22.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.3412, allocations: 436.9 kB / 0.5312 GB, free: 22.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.024e-06/0.3412, allocations: 2.812 kB / 0.5312 GB, free: 22.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004218/0.3454, allocations: 2.443 MB / 0.5336 GB, free: 20.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3455, allocations: 172.2 kB / 0.5337 GB, free: 20.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.346, allocations: 0.5913 MB / 0.5343 GB, free: 20.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.346, allocations: 40.83 kB / 0.5343 GB, free: 20.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.3462, allocations: 486.4 kB / 0.5348 GB, free: 20 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.3464, allocations: 225.7 kB / 0.535 GB, free: 19.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.3464, allocations: 19.22 kB / 0.535 GB, free: 19.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.3465, allocations: 389.2 kB / 0.5354 GB, free: 19.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.3468, allocations: 279 kB / 0.5357 GB, free: 19.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.3473, allocations: 0.5541 MB / 0.5362 GB, free: 18.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/0.3481, allocations: 0.9458 MB / 0.5371 GB, free: 18.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3482, allocations: 7.125 kB / 0.5371 GB, free: 18.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001607/0.3498, allocations: 1.214 MB / 0.5383 GB, free: 17.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.3498, allocations: 37.8 kB / 0.5384 GB, free: 17.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3498, allocations: 6.812 kB / 0.5384 GB, free: 17.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009228/0.3508, allocations: 338.4 kB / 0.5387 GB, free: 17.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.3512, allocations: 147.8 kB / 0.5388 GB, free: 17.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/0.3555, allocations: 4.959 MB / 0.5437 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.3559, allocations: 38.48 kB / 0.5437 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.356, allocations: 34.97 kB / 0.5437 GB, free: 13.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.3563, allocations: 361.7 kB / 0.5441 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.3564, allocations: 75.62 kB / 0.5442 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.3579, allocations: 1.024 MB / 0.5452 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3579, allocations: 16.78 kB / 0.5452 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.358, allocations: 3.188 kB / 0.5452 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.358, allocations: 7.359 kB / 0.5452 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.3606, allocations: 2.06 MB / 0.5472 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3606, allocations: 0 / 0.5472 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.3609, allocations: 77.81 kB / 0.5473 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.3616, allocations: 316.5 kB / 0.5476 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.3617, allocations: 14.41 kB / 0.5476 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/0.3662, allocations: 4.875 MB / 0.5524 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3662, allocations: 2.5 kB / 0.5524 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.3678, allocations: 1.114 MB / 0.5534 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3679, allocations: 146.2 kB / 0.5536 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.368, allocations: 15.38 kB / 0.5536 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.3683, allocations: 23.38 kB / 0.5536 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.3685, allocations: 62.61 kB / 0.5537 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.3685, allocations: 24.11 kB / 0.5537 GB, free: 7.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004636/0.369, allocations: 410.5 kB / 0.5541 GB, free: 7.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.369, allocations: 0 / 0.5541 GB, free: 7.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008582/0.3699, allocations: 269.9 kB / 0.5544 GB, free: 7.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001319/0.37, allocations: 122.2 kB / 0.5545 GB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.3717, allocations: 1.135 MB / 0.5556 GB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3717, allocations: 0 / 0.5556 GB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009175/0.3726, allocations: 0.766 MB / 0.5563 GB, free: 6.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009173/0.3736, allocations: 175.7 kB / 0.5565 GB, free: 6.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.3765, allocations: 2.162 MB / 0.5586 GB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.3772, allocations: 1.104 MB / 0.5597 GB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005388/0.3778, allocations: 178.3 kB / 0.5599 GB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3779, allocations: 50.81 kB / 0.5599 GB, free: 4.285 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3779, allocations: 0 / 0.5599 GB, free: 4.285 MB / 378.7 MB Notification: Performance of Templates: time 0.01797/0.3959, allocations: 10.1 MB / 0.5698 GB, free: 14.69 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)