Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 182 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.288/1.288, allocations: 225.7 MB / 243.2 MB, free: 8.473 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.0007408/0.0007408, allocations: 105.1 kB / 294.4 MB, free: 9.492 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.35/0.35, allocations: 38.12 MB / 383.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 8 kB / 453.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 59.12 MB / 0.5006 GB, free: 39.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009415/0.3024, allocations: 7.346 MB / 0.5078 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007766/0.3102, allocations: 9.866 MB / 0.5174 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.3109, allocations: 23.47 kB / 0.5174 GB, free: 27.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.3114, allocations: 137 kB / 0.5176 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.3143, allocations: 1.196 MB / 0.5187 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3153, allocations: 329.7 kB / 0.519 GB, free: 26.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.3175, allocations: 2.678 MB / 0.5216 GB, free: 25.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.3196, allocations: 2.051 MB / 0.5237 GB, free: 23.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.3207, allocations: 0.4996 MB / 0.5241 GB, free: 23.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.3216, allocations: 0.6924 MB / 0.5248 GB, free: 23.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.3216, allocations: 36.67 kB / 0.5249 GB, free: 23.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.3242, allocations: 1.642 MB / 0.5265 GB, free: 22.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.3246, allocations: 451.5 kB / 0.5269 GB, free: 22.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.325, allocations: 425.3 kB / 0.5273 GB, free: 22.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.3269, allocations: 1.587 MB / 0.5288 GB, free: 21.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3269, allocations: 0 / 0.5288 GB, free: 21.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3269, allocations: 0 / 0.5288 GB, free: 21.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3269, allocations: 0 / 0.5288 GB, free: 21.97 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001357/0.3283, allocations: 1.027 MB / 0.5298 GB, free: 21.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3283, allocations: 8.75 kB / 0.5299 GB, free: 21.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.3312, allocations: 416.1 kB / 0.5302 GB, free: 21.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.3318, allocations: 490.8 kB / 0.5307 GB, free: 20.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.3319, allocations: 61.78 kB / 0.5308 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.332, allocations: 72.39 kB / 0.5308 GB, free: 20.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.3336, allocations: 1.225 MB / 0.532 GB, free: 20.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3337, allocations: 3.062 kB / 0.532 GB, free: 20.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.3338, allocations: 30.08 kB / 0.5321 GB, free: 20.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.501e-05/0.3339, allocations: 81.62 kB / 0.5321 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.3355, allocations: 1.306 MB / 0.5334 GB, free: 19.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004503/0.34, allocations: 3.718 MB / 0.5371 GB, free: 17.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.3415, allocations: 1.086 MB / 0.5381 GB, free: 17.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.3422, allocations: 0.6436 MB / 0.5387 GB, free: 17.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.3423, allocations: 21.3 kB / 0.5388 GB, free: 17.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3423, allocations: 42.62 kB / 0.5388 GB, free: 17.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.086e-06/0.3423, allocations: 0 / 0.5388 GB, free: 17.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.005887/0.3482, allocations: 3.143 MB / 0.5419 GB, free: 16.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3483, allocations: 92.17 kB / 0.542 GB, free: 15.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.3486, allocations: 377.6 kB / 0.5423 GB, free: 15.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.3487, allocations: 40.98 kB / 0.5424 GB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.3488, allocations: 321.3 kB / 0.5427 GB, free: 15.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.349, allocations: 327.4 kB / 0.543 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.349, allocations: 15.12 kB / 0.543 GB, free: 15.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.3491, allocations: 370 kB / 0.5433 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.3497, allocations: 461.5 kB / 0.5438 GB, free: 14.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.3503, allocations: 0.5745 MB / 0.5444 GB, free: 14.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.3515, allocations: 1.111 MB / 0.5454 GB, free: 13.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3515, allocations: 3.672 kB / 0.5454 GB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002163/0.3537, allocations: 1.473 MB / 0.5469 GB, free: 13.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3537, allocations: 8.188 kB / 0.5469 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3537, allocations: 2.594 kB / 0.5469 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009904/0.3547, allocations: 338.6 kB / 0.5472 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.3554, allocations: 183.6 kB / 0.5474 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/0.3601, allocations: 3.868 MB / 0.5512 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005707/0.3607, allocations: 48.73 kB / 0.5512 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.3607, allocations: 33.94 kB / 0.5512 GB, free: 10.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004824/0.3612, allocations: 312.6 kB / 0.5515 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3613, allocations: 56.17 kB / 0.5516 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.3641, allocations: 1.542 MB / 0.5531 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.3641, allocations: 11.03 kB / 0.5531 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3641, allocations: 8.344 kB / 0.5531 GB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.3641, allocations: 6.953 kB / 0.5531 GB, free: 9.996 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.369, allocations: 3 MB / 0.5561 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.3691, allocations: 4.453 kB / 0.5561 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.3697, allocations: 169.6 kB / 0.5562 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008509/0.3706, allocations: 287.5 kB / 0.5565 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/0.3706, allocations: 25.28 kB / 0.5565 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004282/0.3749, allocations: 3.595 MB / 0.56 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.375, allocations: 5.094 kB / 0.56 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.3772, allocations: 1.579 MB / 0.5616 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.3773, allocations: 142.2 kB / 0.5617 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.3774, allocations: 20.62 kB / 0.5617 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.3778, allocations: 40.98 kB / 0.5618 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.378, allocations: 83.94 kB / 0.5618 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.806e-05/0.3781, allocations: 43.48 kB / 0.5619 GB, free: 4.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002504/0.3783, allocations: 261.9 kB / 0.5621 GB, free: 4.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3783, allocations: 0 / 0.5621 GB, free: 4.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001001/0.3793, allocations: 309.3 kB / 0.5624 GB, free: 4.785 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/0.3795, allocations: 128.7 kB / 0.5626 GB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.3814, allocations: 1.388 MB / 0.5639 GB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3814, allocations: 2.031 kB / 0.5639 GB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.3825, allocations: 0.8317 MB / 0.5647 GB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.3833, allocations: 112.7 kB / 0.5648 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.3857, allocations: 2.203 MB / 0.567 GB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.3862, allocations: 1.083 MB / 0.568 GB, free: 184 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.3866, allocations: 184.7 kB / 0.5682 GB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.3868, allocations: 67.34 kB / 0.5683 GB, free: 15.93 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3868, allocations: 0 / 0.5683 GB, free: 15.93 MB / 394.7 MB Notification: Performance of Templates: time 0.01543/0.4023, allocations: 9.318 MB / 0.5774 GB, free: 6.605 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)