Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/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) Ignoring simflag -noemit -outputFormat=mat since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 176.4 kB / 15.43 MB, free: 6.207 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.313/1.313, allocations: 225.7 MB / 241.9 MB, free: 14.67 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.000816/0.0008159, allocations: 95.64 kB / 293 MB, free: 4.797 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06068/0.06068, allocations: 14.38 MB / 358.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 9.062 kB / 426 MB, free: 97.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07459/0.07491, allocations: 53.96 MB / 479.9 MB, free: 55.48 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01012/0.08508, allocations: 17.14 MB / 497.1 MB, free: 38.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009042/0.09416, allocations: 8.252 MB / 0.4935 GB, free: 29.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.09618, allocations: 55.75 kB / 0.4935 GB, free: 29.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.09824, allocations: 0.875 MB / 0.4944 GB, free: 28.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006836/0.1051, allocations: 3.944 MB / 0.4982 GB, free: 24.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1067, allocations: 1.316 MB / 0.4995 GB, free: 23.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005538/0.1123, allocations: 5.755 MB / 0.5051 GB, free: 17.4 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006267/0.1129, allocations: 342.8 kB / 0.5055 GB, free: 17.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.1149, allocations: 1.465 MB / 0.5069 GB, free: 15.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.1167, allocations: 1.61 MB / 0.5085 GB, free: 13.95 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.117, allocations: 80 kB / 0.5085 GB, free: 13.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.1185, allocations: 0.5114 MB / 0.509 GB, free: 13.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.1188, allocations: 357.7 kB / 0.5094 GB, free: 13.01 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.1202, allocations: 1.466 MB / 0.5108 GB, free: 11.53 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.1236, allocations: 3.515 MB / 0.5142 GB, free: 8.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.1236, allocations: 0 / 0.5142 GB, free: 8.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1237, allocations: 0 / 0.5142 GB, free: 8.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.23e-05/0.1237, allocations: 0 / 0.5142 GB, free: 8.004 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.01134/0.1351, allocations: 3.764 MB / 0.5179 GB, free: 4.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1351, allocations: 12.03 kB / 0.5179 GB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.1372, allocations: 465.1 kB / 0.5184 GB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.1398, allocations: 1.654 MB / 0.52 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.1399, allocations: 164.8 kB / 0.5201 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.1402, allocations: 211.9 kB / 0.5203 GB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/0.1433, allocations: 2.125 MB / 0.5224 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.1434, allocations: 7.984 kB / 0.5224 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.1436, allocations: 92 kB / 0.5225 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.1436, allocations: 52 kB / 0.5226 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.1472, allocations: 2.16 MB / 0.5247 GB, free: 13.06 MB / 362.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 preOpt removeSimpleEquations (simulation): time 0.01447/0.1616, allocations: 13.97 MB / 0.5383 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/0.166, allocations: 3.105 MB / 0.5414 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.1673, allocations: 0.7871 MB / 0.5421 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.1674, allocations: 33.97 kB / 0.5422 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.1674, allocations: 56.56 kB / 0.5422 GB, free: 9.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 7.674e-06/0.1675, allocations: 0 / 0.5422 GB, free: 9.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=217): time 0.009245/0.1767, allocations: 3.449 MB / 0.5456 GB, free: 5.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.1768, allocations: 73.41 kB / 0.5456 GB, free: 5.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.1789, allocations: 1.517 MB / 0.5471 GB, free: 4.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.1791, allocations: 65.7 kB / 0.5472 GB, free: 3.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007441/0.1798, allocations: 1.066 MB / 0.5482 GB, free: 2.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007835/0.1806, allocations: 0.747 MB / 0.549 GB, free: 2.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1808, allocations: 52 kB / 0.549 GB, free: 2.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.181, allocations: 403.1 kB / 0.5494 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.1821, allocations: 0.6454 MB / 0.55 GB, free: 1.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1598/0.3419, allocations: 1.203 MB / 0.5512 GB, free: 72.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.3446, allocations: 2.007 MB / 0.5532 GB, free: 72.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.3447, allocations: 5.656 kB / 0.5532 GB, free: 72.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004518/0.3492, allocations: 2.665 MB / 0.5558 GB, free: 71.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.3492, allocations: 13.66 kB / 0.5558 GB, free: 71.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/0.3493, allocations: 16.59 kB / 0.5558 GB, free: 71.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.3511, allocations: 0.5278 MB / 0.5563 GB, free: 71.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.3533, allocations: 0.5735 MB / 0.5569 GB, free: 71.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/0.361, allocations: 6.95 MB / 0.5637 GB, free: 67.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.3631, allocations: 208.2 kB / 0.5639 GB, free: 67.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.3633, allocations: 96.39 kB / 0.564 GB, free: 67.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,26), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0009375/0.3642, allocations: 487.3 kB / 0.5644 GB, free: 67.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.3645, allocations: 236.3 kB / 0.5646 GB, free: 67.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.3681, allocations: 2.133 MB / 0.5667 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.3681, allocations: 21.16 kB / 0.5667 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3681, allocations: 3.688 kB / 0.5667 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.3681, allocations: 9.141 kB / 0.5668 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006499/0.3746, allocations: 4.889 MB / 0.5715 GB, free: 64.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.3747, allocations: 7.906 kB / 0.5715 GB, free: 64.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.3762, allocations: 392.7 kB / 0.5719 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.3778, allocations: 0.4943 MB / 0.5724 GB, free: 64.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.3779, allocations: 36.39 kB / 0.5724 GB, free: 64.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006485/0.3844, allocations: 6.861 MB / 0.5791 GB, free: 58.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.3845, allocations: 8.906 kB / 0.5791 GB, free: 58.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/0.3883, allocations: 2.286 MB / 0.5814 GB, free: 57.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008399/0.3892, allocations: 466.1 kB / 0.5818 GB, free: 57.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.3895, allocations: 43.45 kB / 0.5819 GB, free: 57.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.3906, allocations: 75.81 kB / 0.5819 GB, free: 56.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.3909, allocations: 153.2 kB / 0.5821 GB, free: 56.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.391, allocations: 59.47 kB / 0.5821 GB, free: 56.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.3922, allocations: 0.9632 MB / 0.5831 GB, free: 56.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3922, allocations: 0 / 0.5831 GB, free: 56.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002169/0.3944, allocations: 0.806 MB / 0.5839 GB, free: 56.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003778/0.3948, allocations: 306.7 kB / 0.5842 GB, free: 56.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003527/0.3983, allocations: 2.344 MB / 0.5864 GB, free: 54.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3983, allocations: 1 kB / 0.5864 GB, free: 54.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.4001, allocations: 1.382 MB / 0.5878 GB, free: 53.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.4025, allocations: 254.9 kB / 0.588 GB, free: 52.86 MB / 378.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.4077, allocations: 4.792 MB / 0.5927 GB, free: 48.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.4084, allocations: 1.486 MB / 0.5942 GB, free: 46.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001375/0.4098, allocations: 296.2 kB / 0.5944 GB, free: 46.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.4101, allocations: 139.4 kB / 0.5946 GB, free: 46.07 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.4101, allocations: 0 / 0.5946 GB, free: 46.07 MB / 378.7 MB Notification: Performance of Templates: time 0.03327/0.4434, allocations: 23.41 MB / 0.6174 GB, free: 22.7 MB / 378.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)