Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 184.1 kB / 16.72 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.3/1.3, 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.0009243/0.0009243, allocations: 95.33 kB / 294.4 MB, free: 9.52 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.3221/0.3221, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.0005328, allocations: 8 kB / 453.5 MB, free: 8.816 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3127, allocations: 59.14 MB / 0.5006 GB, free: 38.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006789/0.3196, allocations: 6.647 MB / 0.5071 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.3244, allocations: 3.389 MB / 0.5104 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.325, allocations: 47.72 kB / 0.5104 GB, free: 33.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3254, allocations: 102.7 kB / 0.5105 GB, free: 33.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008981/0.3263, allocations: 363.5 kB / 0.5109 GB, free: 33.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.3272, allocations: 368.3 kB / 0.5112 GB, free: 33.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.3287, allocations: 1.497 MB / 0.5127 GB, free: 33.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.3299, allocations: 1.283 MB / 0.514 GB, free: 32.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.3305, allocations: 349.7 kB / 0.5143 GB, free: 31.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.331, allocations: 0.5223 MB / 0.5148 GB, free: 31.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.3311, allocations: 31.28 kB / 0.5148 GB, free: 31.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.3316, allocations: 225.6 kB / 0.515 GB, free: 31.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.3318, allocations: 386.1 kB / 0.5154 GB, free: 31.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.3322, allocations: 407.5 kB / 0.5158 GB, free: 31.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007685/0.3329, allocations: 0.9683 MB / 0.5167 GB, free: 31.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3329, allocations: 0 / 0.5167 GB, free: 31.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.333, allocations: 0 / 0.5167 GB, free: 31.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.333, allocations: 0 / 0.5167 GB, free: 31.09 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001251/0.3342, allocations: 0.9216 MB / 0.5176 GB, free: 30.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3343, allocations: 13.31 kB / 0.5177 GB, free: 30.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.3349, allocations: 146.2 kB / 0.5178 GB, free: 30.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006782/0.3356, allocations: 0.5104 MB / 0.5183 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.3356, allocations: 57.27 kB / 0.5183 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3358, allocations: 78.38 kB / 0.5184 GB, free: 29.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.3371, allocations: 1.123 MB / 0.5195 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.3372, allocations: 6.938 kB / 0.5195 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/0.3372, allocations: 39.3 kB / 0.5196 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.335e-05/0.3373, allocations: 54.02 kB / 0.5196 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.3383, allocations: 0.8542 MB / 0.5205 GB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.3424, allocations: 5.069 MB / 0.5254 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.343, allocations: 416.1 kB / 0.5258 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.3433, allocations: 203.4 kB / 0.526 GB, free: 24.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.3434, allocations: 19.56 kB / 0.526 GB, free: 24.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3434, allocations: 41.59 kB / 0.5261 GB, free: 24.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.915e-06/0.3434, allocations: 3.938 kB / 0.5261 GB, free: 24.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001512/0.3449, allocations: 1.071 MB / 0.5271 GB, free: 24.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.345, allocations: 86.77 kB / 0.5272 GB, free: 24.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.3454, allocations: 496.7 kB / 0.5277 GB, free: 24.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3454, allocations: 33.7 kB / 0.5277 GB, free: 24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.3456, allocations: 456.1 kB / 0.5281 GB, free: 23.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.3457, allocations: 157.5 kB / 0.5283 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.3457, allocations: 15.25 kB / 0.5283 GB, free: 23.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.3458, allocations: 368 kB / 0.5286 GB, free: 23.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.3461, allocations: 236.3 kB / 0.5289 GB, free: 23.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.3465, allocations: 0.6166 MB / 0.5295 GB, free: 22.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.3472, allocations: 0.9257 MB / 0.5304 GB, free: 21.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3472, allocations: 10.06 kB / 0.5304 GB, free: 21.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009712/0.3482, allocations: 0.8876 MB / 0.5312 GB, free: 21.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3482, allocations: 9.031 kB / 0.5313 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3482, allocations: 14.91 kB / 0.5313 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.3483, allocations: 17.78 kB / 0.5313 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.3489, allocations: 217.2 kB / 0.5315 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.3489, allocations: 37.53 kB / 0.5315 GB, free: 21.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.3493, allocations: 58.42 kB / 0.5316 GB, free: 21.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.3493, allocations: 38.59 kB / 0.5316 GB, free: 21.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0002701/0.3496, allocations: 310.4 kB / 0.5319 GB, free: 21.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.3497, allocations: 50.03 kB / 0.532 GB, free: 21.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/0.3504, allocations: 0.5535 MB / 0.5325 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3504, allocations: 6.188 kB / 0.5325 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3504, allocations: 0 / 0.5325 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3505, allocations: 6.125 kB / 0.5325 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.352, allocations: 1.329 MB / 0.5338 GB, free: 20.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.352, allocations: 3.938 kB / 0.5338 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.3524, allocations: 110 kB / 0.5339 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3524, allocations: 7.281 kB / 0.5339 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.3525, allocations: 18.53 kB / 0.534 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3525, allocations: 7 kB / 0.534 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3525, allocations: 3.094 kB / 0.534 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.353, allocations: 0.644 MB / 0.5346 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.3531, allocations: 123.8 kB / 0.5347 GB, free: 19.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.3532, allocations: 14.81 kB / 0.5347 GB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.3534, allocations: 27 kB / 0.5347 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3535, allocations: 33.56 kB / 0.5348 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.3535, allocations: 12.05 kB / 0.5348 GB, free: 19.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002488/0.3538, allocations: 328.2 kB / 0.5351 GB, free: 19.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3538, allocations: 0 / 0.5351 GB, free: 19.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005659/0.3543, allocations: 159.6 kB / 0.5353 GB, free: 19.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (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 9.327e-05/0.3544, allocations: 119.9 kB / 0.5354 GB, free: 19.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006623/0.3551, allocations: 0.5966 MB / 0.536 GB, free: 19.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3551, allocations: 4.125 kB / 0.536 GB, free: 19.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.3554, allocations: 243 kB / 0.5362 GB, free: 19.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.3561, allocations: 99.55 kB / 0.5363 GB, free: 19.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3577, allocations: 1.717 MB / 0.538 GB, free: 18.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3581, allocations: 1.001 MB / 0.5389 GB, free: 17.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004874/0.3586, allocations: 230.7 kB / 0.5392 GB, free: 17.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3587, allocations: 50.25 kB / 0.5392 GB, free: 17.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3587, allocations: 3.219 kB / 0.5392 GB, free: 17.25 MB / 378.7 MB Notification: Performance of Templates: time 0.009199/0.368, allocations: 5.252 MB / 0.5443 GB, free: 16.85 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)