Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 175.7 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.459/1.459, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0009385/0.0009385, allocations: 98.08 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.2736/0.2736, allocations: 38.12 MB / 383.6 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003085, allocations: 8 kB / 453.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4461, allocations: 59.14 MB / 0.5006 GB, free: 39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005839/0.452, allocations: 3.279 MB / 0.5038 GB, free: 38.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.4553, allocations: 2.57 MB / 0.5063 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.4556, allocations: 11.12 kB / 0.5063 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.4559, allocations: 30.27 kB / 0.5064 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.4568, allocations: 262.9 kB / 0.5066 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.4572, allocations: 95.92 kB / 0.5067 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008776/0.4581, allocations: 0.5699 MB / 0.5072 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000804/0.4589, allocations: 479.8 kB / 0.5077 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.4593, allocations: 120.9 kB / 0.5078 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.4596, allocations: 156.4 kB / 0.508 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.4597, allocations: 7.938 kB / 0.508 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009281/0.4606, allocations: 352.6 kB / 0.5083 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.4608, allocations: 98.12 kB / 0.5084 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.461, allocations: 124 kB / 0.5085 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000931/0.462, allocations: 353.5 kB / 0.5089 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.462, allocations: 1.188 kB / 0.5089 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.462, allocations: 0.625 kB / 0.5089 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.462, allocations: 1.75 kB / 0.5089 GB, free: 35.95 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008219/0.4629, allocations: 485.9 kB / 0.5093 GB, free: 35.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4629, allocations: 9.938 kB / 0.5093 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.4639, allocations: 93.19 kB / 0.5094 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.4643, allocations: 253.8 kB / 0.5097 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.4643, allocations: 19.77 kB / 0.5097 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.4644, allocations: 22.02 kB / 0.5097 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.4649, allocations: 308.4 kB / 0.51 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.465, allocations: 1.156 kB / 0.51 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.465, allocations: 6.5 kB / 0.51 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.465, allocations: 19.55 kB / 0.51 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.4656, allocations: 292.3 kB / 0.5103 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.4671, allocations: 1.294 MB / 0.5116 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.4675, allocations: 239.8 kB / 0.5118 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.4676, allocations: 57.5 kB / 0.5119 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.4676, allocations: 2.688 kB / 0.5119 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.4676, allocations: 35.83 kB / 0.5119 GB, free: 33.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/0.4676, allocations: 0 / 0.5119 GB, free: 33.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005679/0.4682, allocations: 283.8 kB / 0.5122 GB, free: 33.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.4682, allocations: 86.33 kB / 0.5122 GB, free: 33.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.4684, allocations: 201.9 kB / 0.5124 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.4684, allocations: 29.7 kB / 0.5125 GB, free: 33.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.4685, allocations: 158.1 kB / 0.5126 GB, free: 33.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.4685, allocations: 48.23 kB / 0.5127 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.4685, allocations: 4 kB / 0.5127 GB, free: 33.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.4686, allocations: 324.9 kB / 0.513 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.4687, allocations: 55.16 kB / 0.513 GB, free: 32.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/0.4688, allocations: 137.9 kB / 0.5132 GB, free: 32.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.469, allocations: 218.9 kB / 0.5134 GB, free: 32.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.469, allocations: 4 kB / 0.5134 GB, free: 32.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002575/0.4692, allocations: 226.7 kB / 0.5136 GB, free: 32.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4693, allocations: 8.781 kB / 0.5136 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4693, allocations: 2.719 kB / 0.5136 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4693, allocations: 6.344 kB / 0.5136 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.4695, allocations: 51.11 kB / 0.5137 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4695, allocations: 5.562 kB / 0.5137 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4696, allocations: 13.78 kB / 0.5137 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.4696, allocations: 8 kB / 0.5137 GB, free: 32.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.4697, allocations: 160.3 kB / 0.5138 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.4698, allocations: 15.94 kB / 0.5139 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.47, allocations: 154.9 kB / 0.514 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.47, allocations: 2.906 kB / 0.514 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.47, allocations: 7.938 kB / 0.514 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.47, allocations: 3.938 kB / 0.514 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.4706, allocations: 0.6599 MB / 0.5147 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.4707, allocations: 2.594 kB / 0.5147 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.4708, allocations: 33.69 kB / 0.5147 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4708, allocations: 2.562 kB / 0.5147 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.4708, allocations: 9.688 kB / 0.5147 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4708, allocations: 12.92 kB / 0.5147 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4708, allocations: 2.688 kB / 0.5147 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.471, allocations: 332.3 kB / 0.515 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.4711, allocations: 109.7 kB / 0.5151 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.4711, allocations: 13.45 kB / 0.5152 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4712, allocations: 5.906 kB / 0.5152 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.4713, allocations: 19.59 kB / 0.5152 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4713, allocations: 8.031 kB / 0.5152 GB, free: 31.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.373e-05/0.4714, allocations: 142.3 kB / 0.5153 GB, free: 31.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4714, allocations: 4 kB / 0.5153 GB, free: 31.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000311/0.4717, allocations: 47.62 kB / 0.5154 GB, free: 31.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (15): * Single equations (assignments): 14 * 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 7.504e-05/0.4718, allocations: 104.7 kB / 0.5155 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.472, allocations: 141.4 kB / 0.5156 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.472, allocations: 192 / 0.5156 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.4721, allocations: 66.28 kB / 0.5157 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.4725, allocations: 37.09 kB / 0.5157 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.4731, allocations: 0.6006 MB / 0.5163 GB, free: 30.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.4733, allocations: 0.7556 MB / 0.517 GB, free: 29.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.4735, allocations: 42.45 kB / 0.5171 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.4735, allocations: 16.03 kB / 0.5171 GB, free: 29.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4735, allocations: 0 / 0.5171 GB, free: 29.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003344/0.4769, allocations: 1.262 MB / 0.5183 GB, free: 29.59 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)