Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009686/0.0009687, allocations: 183.5 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.445/1.445, allocations: 225.7 MB / 243.2 MB, free: 8.531 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.001017/0.001017, allocations: 95.61 kB / 294.4 MB, free: 9.543 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.3009/0.3009, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003915, allocations: 8 kB / 453.5 MB, free: 8.828 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 59.13 MB / 0.5006 GB, free: 38.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009003/0.3355, allocations: 7.048 MB / 0.5075 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006291/0.3419, allocations: 7.872 MB / 0.5152 GB, free: 29.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006629/0.3426, allocations: 15.81 kB / 0.5152 GB, free: 29.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.3431, allocations: 126.4 kB / 0.5153 GB, free: 29.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.3457, allocations: 1.054 MB / 0.5163 GB, free: 28.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.3466, allocations: 272.8 kB / 0.5166 GB, free: 28.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.3489, allocations: 2.542 MB / 0.5191 GB, free: 27.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.3494, allocations: 347.9 kB / 0.5194 GB, free: 27.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.3502, allocations: 469.1 kB / 0.5199 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006677/0.3508, allocations: 0.5933 MB / 0.5204 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.3509, allocations: 20.34 kB / 0.5205 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.3529, allocations: 1.186 MB / 0.5216 GB, free: 26.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.3531, allocations: 252 kB / 0.5218 GB, free: 26.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.3533, allocations: 253 kB / 0.5221 GB, free: 26.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.3542, allocations: 0.8742 MB / 0.5229 GB, free: 26.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3542, allocations: 0 / 0.5229 GB, free: 26.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3542, allocations: 0 / 0.5229 GB, free: 26.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3542, allocations: 0 / 0.5229 GB, free: 26.19 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0008287/0.3551, allocations: 0.7181 MB / 0.5236 GB, free: 25.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3551, allocations: 10.72 kB / 0.5237 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.3565, allocations: 127.2 kB / 0.5238 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3568, allocations: 330.1 kB / 0.5241 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.3568, allocations: 35.64 kB / 0.5241 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.3569, allocations: 39.23 kB / 0.5242 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.3576, allocations: 0.5898 MB / 0.5247 GB, free: 24.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3576, allocations: 0 / 0.5247 GB, free: 24.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.3577, allocations: 24.78 kB / 0.5248 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.3577, allocations: 31.73 kB / 0.5248 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.3582, allocations: 386.3 kB / 0.5252 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.36, allocations: 2.609 MB / 0.5277 GB, free: 22.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.3605, allocations: 430 kB / 0.5281 GB, free: 22.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.3607, allocations: 215.8 kB / 0.5283 GB, free: 22.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3608, allocations: 6.031 kB / 0.5283 GB, free: 22.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.3608, allocations: 37.47 kB / 0.5284 GB, free: 22.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.462e-06/0.3608, allocations: 0 / 0.5284 GB, free: 22.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001409/0.3622, allocations: 0.7721 MB / 0.5291 GB, free: 21.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.3623, allocations: 109 kB / 0.5292 GB, free: 21.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.3625, allocations: 315.8 kB / 0.5295 GB, free: 21.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3625, allocations: 29.7 kB / 0.5296 GB, free: 21.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.3626, allocations: 249.9 kB / 0.5298 GB, free: 21.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.3627, allocations: 120.3 kB / 0.5299 GB, free: 21.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.3627, allocations: 4 kB / 0.5299 GB, free: 21.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.3628, allocations: 354.5 kB / 0.5302 GB, free: 20.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.3629, allocations: 126 kB / 0.5304 GB, free: 20.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3631, allocations: 281.2 kB / 0.5306 GB, free: 20.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.3636, allocations: 454.6 kB / 0.5311 GB, free: 20.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3636, allocations: 3.125 kB / 0.5311 GB, free: 20.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006532/0.3642, allocations: 0.5531 MB / 0.5316 GB, free: 20.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3642, allocations: 9.797 kB / 0.5316 GB, free: 20.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3643, allocations: 6.062 kB / 0.5316 GB, free: 20.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.3646, allocations: 118.9 kB / 0.5317 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3648, allocations: 76.03 kB / 0.5318 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.3665, allocations: 2.344 MB / 0.5341 GB, free: 18.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3667, allocations: 42.44 kB / 0.5341 GB, free: 18.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.3668, allocations: 23.31 kB / 0.5342 GB, free: 18.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.3669, allocations: 199.7 kB / 0.5344 GB, free: 18.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.367, allocations: 38.03 kB / 0.5344 GB, free: 18.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.3671, allocations: 51.19 kB / 0.5344 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3671, allocations: 3.219 kB / 0.5344 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.3671, allocations: 3.094 kB / 0.5344 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3671, allocations: 0 / 0.5344 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.3681, allocations: 0.9441 MB / 0.5354 GB, free: 17.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3681, allocations: 0 / 0.5354 GB, free: 17.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3683, allocations: 38.36 kB / 0.5354 GB, free: 17.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.3685, allocations: 109.9 kB / 0.5355 GB, free: 17.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.3685, allocations: 10.91 kB / 0.5355 GB, free: 17.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.3701, allocations: 2.336 MB / 0.5378 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3702, allocations: 2.688 kB / 0.5378 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.3707, allocations: 0.623 MB / 0.5384 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.3708, allocations: 112.1 kB / 0.5385 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.3708, allocations: 6.969 kB / 0.5385 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.371, allocations: 10.97 kB / 0.5385 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.371, allocations: 24.84 kB / 0.5386 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3711, allocations: 10.22 kB / 0.5386 GB, free: 15.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3712, allocations: 220.3 kB / 0.5388 GB, free: 14.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3712, allocations: 0 / 0.5388 GB, free: 14.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005464/0.3718, allocations: 170.1 kB / 0.5389 GB, free: 14.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.818e-05/0.3719, allocations: 109.6 kB / 0.539 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006416/0.3725, allocations: 0.5112 MB / 0.5395 GB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3725, allocations: 0 / 0.5395 GB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.3729, allocations: 342.6 kB / 0.5399 GB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.3734, allocations: 54.89 kB / 0.5399 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000942/0.3744, allocations: 1.007 MB / 0.5409 GB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3746, allocations: 0.8784 MB / 0.5418 GB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.3748, allocations: 71.08 kB / 0.5418 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.3748, allocations: 20.31 kB / 0.5419 GB, free: 13.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3748, allocations: 2.969 kB / 0.5419 GB, free: 13.04 MB / 378.7 MB Notification: Performance of Templates: time 0.00602/0.3809, allocations: 3.467 MB / 0.5452 GB, free: 12.77 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)