Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001474, allocations: 110.8 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 183 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07491/0.07491, allocations: 16.78 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 427.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 53.57 MB / 480.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02512/0.1355, allocations: 30.17 MB / 0.499 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3108/0.4463, allocations: 8.666 MB / 0.5075 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005088/0.4515, allocations: 63.38 kB / 0.5075 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004749/0.4563, allocations: 1.146 MB / 0.5087 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.4693, allocations: 3.7 MB / 0.5123 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.4737, allocations: 1.513 MB / 0.5138 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01352/0.4873, allocations: 6.965 MB / 0.5206 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.4888, allocations: 496.5 kB / 0.521 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006269/0.4951, allocations: 2.348 MB / 0.5233 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.5014, allocations: 2.554 MB / 0.5258 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.5031, allocations: 274 kB / 0.5261 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005086/0.5082, allocations: 0.7822 MB / 0.5268 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.5095, allocations: 0.7185 MB / 0.5275 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006678/0.5161, allocations: 2.215 MB / 0.5297 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.5264, allocations: 5.043 MB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5265, allocations: 0 / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5265, allocations: 0 / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001877/0.5267, allocations: 1.375 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 710 * Number of variables: 710 Notification: Performance of Generate backend data structure: time 0.0287/0.5554, allocations: 6.378 MB / 0.5409 GB, free: 7.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.5555, allocations: 7.188 kB / 0.5409 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004131/0.5596, allocations: 0.5785 MB / 0.5414 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007912/0.5675, allocations: 2.331 MB / 0.5437 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.5679, allocations: 224.8 kB / 0.5439 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000973/0.5689, allocations: 286.9 kB / 0.5442 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009201/0.5781, allocations: 3.401 MB / 0.5475 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.5783, allocations: 27.69 kB / 0.5476 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006884/0.579, allocations: 128 kB / 0.5477 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.859e-05/0.5791, allocations: 76 kB / 0.5477 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005722/0.5848, allocations: 2.686 MB / 0.5504 GB, free: 15.33 MB / 414.1 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.02987/0.6147, allocations: 22.08 MB / 0.5719 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005176/0.6199, allocations: 2.45 MB / 0.5743 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.6216, allocations: 0.916 MB / 0.5752 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.6218, allocations: 36.56 kB / 0.5753 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.622e-05/0.6219, allocations: 72.44 kB / 0.5753 GB, free: 4.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=251): time 6.402e-06/0.6219, allocations: 0 / 0.5753 GB, free: 4.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=251): time 0.01485/0.6368, allocations: 4.74 MB / 0.58 GB, free: 72 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.6369, allocations: 77.45 kB / 0.58 GB, free: 15.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00686/0.6437, allocations: 3.205 MB / 0.5832 GB, free: 12.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004303/0.6442, allocations: 77.7 kB / 0.5832 GB, free: 12.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.646, allocations: 1.573 MB / 0.5848 GB, free: 11.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001634/0.6476, allocations: 1.018 MB / 0.5858 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005082/0.6527, allocations: 1.628 MB / 0.5874 GB, free: 8.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6529, allocations: 309.1 kB / 0.5876 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005043/0.6579, allocations: 2.197 MB / 0.5898 GB, free: 5.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005417/0.6634, allocations: 2.934 MB / 0.5927 GB, free: 2.957 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007784/0.6712, allocations: 4.218 MB / 0.5968 GB, free: 14.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.052e-05/0.6712, allocations: 8 kB / 0.5968 GB, free: 14.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01624/0.6875, allocations: 7.305 MB / 0.6039 GB, free: 7.211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.6876, allocations: 4.109 kB / 0.6039 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.6876, allocations: 11.94 kB / 0.6039 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004469/0.6921, allocations: 0.8778 MB / 0.6048 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007221/0.6993, allocations: 1.744 MB / 0.6065 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.7126, allocations: 8.88 MB / 0.6152 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008809/0.7214, allocations: 0.5651 MB / 0.6157 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/0.723, allocations: 280 kB / 0.616 GB, free: 10.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 8 (NTLV2.isSlackBus,NTHV2.isSlackBus,NTHV1.isSlackBus,NTLV1.isSlackBus,GRIDL2.isSlackBus,GRIDL1.isSlackBus,GEN2.isSlackBus,GEN1.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1119): * Single equations (assignments): 1116 * 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 {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(17,0), (39,0)} Notification: Performance of prepare postOptimizeDAE: time 0.00297/0.726, allocations: 0.7214 MB / 0.6167 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/0.7277, allocations: 367.5 kB / 0.617 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006135/0.7339, allocations: 2.594 MB / 0.6196 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/0.7339, allocations: 15.95 kB / 0.6196 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.7339, allocations: 0 / 0.6196 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/0.7369, allocations: 0.7345 MB / 0.6203 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/0.7384, allocations: 48 kB / 0.6204 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003811/0.7422, allocations: 99.94 kB / 0.6204 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/0.7426, allocations: 177.7 kB / 0.6206 GB, free: 5.629 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006463/0.7491, allocations: 2.507 MB / 0.6231 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005666/0.7548, allocations: 3.075 MB / 0.6261 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001186/0.756, allocations: 0.7837 MB / 0.6268 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004088/0.7601, allocations: 1.918 MB / 0.6287 GB, free: 13.37 MB / 494.1 MB Notification: Performance of Backend: time 1.132e-06/0.7601, allocations: 3.938 kB / 0.6287 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01597/0.7761, allocations: 5.626 MB / 0.6342 GB, free: 7.73 MB / 494.1 MB Notification: Performance of SimCode: time 0.01491/0.791, allocations: 7.091 MB / 0.6411 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of Templates: time 0.1068/0.8979, allocations: 70.51 MB / 0.71 GB, free: 10.05 MB / 0.5606 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)