Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 182.9 kB / 16.71 MB, free: 4.836 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.345/1.345, 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.0008035/0.0008035, allocations: 98.3 kB / 294.4 MB, free: 9.535 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.3091/0.3091, allocations: 38.12 MB / 383.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 12 kB / 453.5 MB, free: 8.797 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3676, allocations: 59.14 MB / 0.5006 GB, free: 38.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006399/0.3741, allocations: 6.962 MB / 0.5074 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00662/0.3807, allocations: 9.033 MB / 0.5162 GB, free: 27.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.3818, allocations: 16.75 kB / 0.5162 GB, free: 27.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.3825, allocations: 130.4 kB / 0.5164 GB, free: 27.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.3858, allocations: 1.141 MB / 0.5175 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008796/0.3867, allocations: 291.1 kB / 0.5178 GB, free: 27.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.3886, allocations: 2.571 MB / 0.5203 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.3907, allocations: 2.151 MB / 0.5224 GB, free: 24.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007621/0.3915, allocations: 495.6 kB / 0.5228 GB, free: 24.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007836/0.3922, allocations: 0.6654 MB / 0.5235 GB, free: 24.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.3923, allocations: 37.56 kB / 0.5235 GB, free: 24.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.3945, allocations: 1.52 MB / 0.525 GB, free: 23.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.3948, allocations: 434.5 kB / 0.5254 GB, free: 23.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.3952, allocations: 417.9 kB / 0.5258 GB, free: 23.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.3966, allocations: 1.499 MB / 0.5273 GB, free: 22.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3966, allocations: 2.562 kB / 0.5273 GB, free: 22.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3966, allocations: 0 / 0.5273 GB, free: 22.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3966, allocations: 0 / 0.5273 GB, free: 22.92 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001116/0.3977, allocations: 0.9857 MB / 0.5283 GB, free: 22.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3978, allocations: 11.62 kB / 0.5283 GB, free: 22.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.4004, allocations: 386.2 kB / 0.5286 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.401, allocations: 485.9 kB / 0.5291 GB, free: 21.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.401, allocations: 50.19 kB / 0.5291 GB, free: 21.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4011, allocations: 78.86 kB / 0.5292 GB, free: 21.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.4025, allocations: 1.176 MB / 0.5304 GB, free: 21.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.4025, allocations: 0 / 0.5304 GB, free: 21.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.4026, allocations: 30.33 kB / 0.5304 GB, free: 21.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.186e-05/0.4027, allocations: 78.3 kB / 0.5305 GB, free: 21.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.4041, allocations: 1.23 MB / 0.5317 GB, free: 20.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.4082, allocations: 3.534 MB / 0.5351 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.4095, allocations: 1.054 MB / 0.5362 GB, free: 18.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006684/0.4102, allocations: 0.6567 MB / 0.5368 GB, free: 18.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.4102, allocations: 17.59 kB / 0.5368 GB, free: 18.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.4102, allocations: 50.69 kB / 0.5369 GB, free: 18.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.184e-06/0.4103, allocations: 3.938 kB / 0.5369 GB, free: 18.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.005428/0.4157, allocations: 3.088 MB / 0.5399 GB, free: 17.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.4157, allocations: 88.8 kB / 0.54 GB, free: 17.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.416, allocations: 363 kB / 0.5403 GB, free: 16.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.4161, allocations: 44.89 kB / 0.5404 GB, free: 16.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4162, allocations: 313.2 kB / 0.5407 GB, free: 16.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.4164, allocations: 313.8 kB / 0.541 GB, free: 16.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.4165, allocations: 15.31 kB / 0.541 GB, free: 16.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.4166, allocations: 366.7 kB / 0.5413 GB, free: 16.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/0.4171, allocations: 467.8 kB / 0.5418 GB, free: 15.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.4177, allocations: 0.5664 MB / 0.5423 GB, free: 15.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.419, allocations: 1.099 MB / 0.5434 GB, free: 15.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.419, allocations: 3.25 kB / 0.5434 GB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001984/0.421, allocations: 1.474 MB / 0.5448 GB, free: 14.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.421, allocations: 6.844 kB / 0.5448 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.421, allocations: 3.125 kB / 0.5448 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/0.4219, allocations: 331.2 kB / 0.5452 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.4225, allocations: 185.4 kB / 0.5453 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.4268, allocations: 3.869 MB / 0.5491 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.4273, allocations: 53.11 kB / 0.5492 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/0.4274, allocations: 37.3 kB / 0.5492 GB, free: 11.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (80): * Single equations (assignments): 79 * 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.0003521/0.4278, allocations: 299 kB / 0.5495 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.4279, allocations: 57.02 kB / 0.5495 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.4304, allocations: 1.559 MB / 0.5511 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.4304, allocations: 11.81 kB / 0.5511 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4304, allocations: 3.688 kB / 0.5511 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.4304, allocations: 6.656 kB / 0.5511 GB, free: 11.15 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.004776/0.4352, allocations: 3.025 MB / 0.554 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4352, allocations: 3.719 kB / 0.554 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.4359, allocations: 169 kB / 0.5542 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008087/0.4367, allocations: 284.5 kB / 0.5545 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.4368, allocations: 32.92 kB / 0.5545 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/0.4415, allocations: 3.602 MB / 0.558 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.4415, allocations: 8.266 kB / 0.558 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.4439, allocations: 1.59 MB / 0.5596 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.4441, allocations: 145.7 kB / 0.5597 GB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.668e-05/0.4442, allocations: 21.59 kB / 0.5597 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.4446, allocations: 39.61 kB / 0.5598 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.4448, allocations: 83.56 kB / 0.5599 GB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.4449, allocations: 42.62 kB / 0.5599 GB, free: 6.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003352/0.4452, allocations: 250.4 kB / 0.5601 GB, free: 6.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4452, allocations: 1.031 kB / 0.5601 GB, free: 6.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001182/0.4464, allocations: 306.2 kB / 0.5604 GB, free: 6.242 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.0001922/0.4466, allocations: 133.9 kB / 0.5606 GB, free: 6.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.4487, allocations: 1.389 MB / 0.5619 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4487, allocations: 1.375 kB / 0.5619 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.4498, allocations: 0.8373 MB / 0.5627 GB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.4505, allocations: 111.7 kB / 0.5628 GB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.4531, allocations: 2.171 MB / 0.565 GB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.4535, allocations: 1.068 MB / 0.566 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004009/0.4539, allocations: 180.6 kB / 0.5662 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.4541, allocations: 67.34 kB / 0.5662 GB, free: 2.152 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4541, allocations: 4 kB / 0.5662 GB, free: 2.148 MB / 378.7 MB Notification: Performance of Templates: time 0.01432/0.4684, allocations: 9.31 MB / 0.5753 GB, free: 8.832 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)