Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 179.7 kB / 16.71 MB, free: 4.938 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.352/1.352, allocations: 225.7 MB / 243.2 MB, free: 8.441 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.0009722/0.0009721, allocations: 90.25 kB / 294.4 MB, free: 9.484 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.3338/0.3338, allocations: 38.12 MB / 383.6 MB, free: 40.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 8 kB / 453.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3107, allocations: 59.13 MB / 0.5006 GB, free: 38.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009068/0.3198, allocations: 6.919 MB / 0.5074 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008892/0.3288, allocations: 9.021 MB / 0.5162 GB, free: 28.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009986/0.3298, allocations: 16.16 kB / 0.5162 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.3304, allocations: 131.6 kB / 0.5163 GB, free: 28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.3339, allocations: 1.142 MB / 0.5174 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.335, allocations: 292.3 kB / 0.5177 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003299/0.3384, allocations: 2.568 MB / 0.5202 GB, free: 26.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003581/0.342, allocations: 2.141 MB / 0.5223 GB, free: 24.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.3436, allocations: 496.7 kB / 0.5228 GB, free: 24.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.3455, allocations: 0.6701 MB / 0.5234 GB, free: 24.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.3458, allocations: 36.19 kB / 0.5235 GB, free: 24.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.3501, allocations: 1.525 MB / 0.5249 GB, free: 23.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008227/0.3509, allocations: 433.8 kB / 0.5254 GB, free: 23.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.3516, allocations: 415 kB / 0.5258 GB, free: 23.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.3546, allocations: 1.501 MB / 0.5272 GB, free: 23.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3546, allocations: 3.312 kB / 0.5272 GB, free: 23.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3546, allocations: 0 / 0.5272 GB, free: 23.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.3547, allocations: 0 / 0.5272 GB, free: 23.01 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.001754/0.3564, allocations: 0.9826 MB / 0.5282 GB, free: 22.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.3565, allocations: 8.75 kB / 0.5282 GB, free: 22.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.3607, allocations: 394.4 kB / 0.5286 GB, free: 22.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3617, allocations: 475.7 kB / 0.529 GB, free: 21.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.3618, allocations: 55.2 kB / 0.5291 GB, free: 21.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.362, allocations: 82.2 kB / 0.5292 GB, free: 21.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.3645, allocations: 1.181 MB / 0.5303 GB, free: 21.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.3646, allocations: 0 / 0.5303 GB, free: 21.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.379e-05/0.3647, allocations: 29.03 kB / 0.5303 GB, free: 21.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.275e-05/0.3648, allocations: 71.42 kB / 0.5304 GB, free: 21.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.3672, allocations: 1.234 MB / 0.5316 GB, free: 20.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/0.3736, allocations: 3.532 MB / 0.5351 GB, free: 19.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.3756, allocations: 1.056 MB / 0.5361 GB, free: 18.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.3767, allocations: 0.6612 MB / 0.5367 GB, free: 18.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.3767, allocations: 13.89 kB / 0.5367 GB, free: 18.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3768, allocations: 46.84 kB / 0.5368 GB, free: 18.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.787e-06/0.3768, allocations: 7.875 kB / 0.5368 GB, free: 18.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.008618/0.3854, allocations: 3.085 MB / 0.5398 GB, free: 17.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3855, allocations: 95.14 kB / 0.5399 GB, free: 17.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.386, allocations: 364 kB / 0.5403 GB, free: 17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.3861, allocations: 40.36 kB / 0.5403 GB, free: 16.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3863, allocations: 312 kB / 0.5406 GB, free: 16.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.3866, allocations: 310 kB / 0.5409 GB, free: 16.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.3867, allocations: 19.06 kB / 0.5409 GB, free: 16.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3868, allocations: 369.9 kB / 0.5413 GB, free: 16.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.3877, allocations: 463.9 kB / 0.5417 GB, free: 15.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.3888, allocations: 0.5658 MB / 0.5422 GB, free: 15.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.3907, allocations: 1.104 MB / 0.5433 GB, free: 15.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3907, allocations: 2.969 kB / 0.5433 GB, free: 15.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003343/0.3941, allocations: 1.472 MB / 0.5448 GB, free: 14.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3941, allocations: 6.094 kB / 0.5448 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3942, allocations: 3.125 kB / 0.5448 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.3955, allocations: 339 kB / 0.5451 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.3965, allocations: 183.8 kB / 0.5453 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006866/0.4034, allocations: 3.867 MB / 0.5491 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008409/0.4043, allocations: 49.53 kB / 0.5491 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.4044, allocations: 38.09 kB / 0.5491 GB, free: 12.08 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.0005574/0.405, allocations: 297.8 kB / 0.5494 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.4051, allocations: 60.95 kB / 0.5495 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.4088, allocations: 1.556 MB / 0.551 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.4088, allocations: 15.92 kB / 0.551 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4088, allocations: 3.781 kB / 0.551 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.4089, allocations: 7.109 kB / 0.551 GB, free: 11.24 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.007108/0.416, allocations: 3.023 MB / 0.554 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.416, allocations: 4.344 kB / 0.554 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.417, allocations: 169.1 kB / 0.5541 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4183, allocations: 281 kB / 0.5544 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-05/0.4184, allocations: 29.5 kB / 0.5544 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006631/0.425, allocations: 3.6 MB / 0.558 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.425, allocations: 11.97 kB / 0.558 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/0.4286, allocations: 1.59 MB / 0.5595 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.4289, allocations: 154.5 kB / 0.5597 GB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.429, allocations: 22.22 kB / 0.5597 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.4297, allocations: 38.75 kB / 0.5597 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.4299, allocations: 83.95 kB / 0.5598 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.4301, allocations: 34.62 kB / 0.5598 GB, free: 6.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003962/0.4305, allocations: 255.5 kB / 0.5601 GB, free: 6.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4305, allocations: 4 kB / 0.5601 GB, free: 6.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001561/0.432, allocations: 306.5 kB / 0.5604 GB, free: 6.328 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.000199/0.4323, allocations: 131.8 kB / 0.5605 GB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003074/0.4353, allocations: 1.386 MB / 0.5619 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.4354, allocations: 1.406 kB / 0.5619 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.4371, allocations: 0.8383 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.001338/0.4385, allocations: 107.7 kB / 0.5628 GB, free: 5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.4427, allocations: 2.178 MB / 0.5649 GB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.4434, allocations: 1.069 MB / 0.5659 GB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007735/0.4442, allocations: 180.6 kB / 0.5661 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.4445, allocations: 71.34 kB / 0.5662 GB, free: 2.164 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4445, allocations: 0 / 0.5662 GB, free: 2.164 MB / 378.7 MB Notification: Performance of Templates: time 0.02325/0.4678, allocations: 9.316 MB / 0.5753 GB, free: 8.84 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)