Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001164, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 221.8 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009683/0.0009682, allocations: 113.9 kB / 269.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.09899/0.09899, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000984/0.0009841, allocations: 51.91 kB / 394.4 MB, free: 62.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06817/0.06917, allocations: 50.14 MB / 444.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow): time 0.007035/0.07623, allocations: 10.44 MB / 455 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00619/0.08245, allocations: 4.705 MB / 459.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.08352, allocations: 31.88 kB / 459.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.08474, allocations: 497.8 kB / 460.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.08886, allocations: 1.924 MB / 462.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.08982, allocations: 0.4944 MB / 462.6 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003173/0.093, allocations: 3.047 MB / 465.7 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.09331, allocations: 176.2 kB / 465.8 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008675/0.09419, allocations: 0.8006 MB / 466.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007692/0.09497, allocations: 0.8282 MB / 467.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.922e-05/0.09507, allocations: 44 kB / 467.5 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008956/0.09597, allocations: 391.7 kB / 467.9 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.09611, allocations: 182.8 kB / 468.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006079/0.09672, allocations: 0.7497 MB / 468.8 MB, free: 3.562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.09844, allocations: 1.947 MB / 470.8 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.09845, allocations: 4 kB / 470.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.09846, allocations: 0 / 470.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.09848, allocations: 0 / 470.8 MB, free: 1.605 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.006104/0.1046, allocations: 2.268 MB / 473 MB, free: 15.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1046, allocations: 8.031 kB / 473.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009467/0.1056, allocations: 243 kB / 473.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.1071, allocations: 0.9491 MB / 474.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.1072, allocations: 82.56 kB / 474.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.1073, allocations: 108.4 kB / 474.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.1089, allocations: 1.072 MB / 475.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.1089, allocations: 3.938 kB / 475.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/0.109, allocations: 44 kB / 475.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.109, allocations: 32 kB / 475.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.1109, allocations: 1.05 MB / 476.6 MB, free: 11.58 MB / 330.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.008038/0.119, allocations: 7.536 MB / 484.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.1206, allocations: 1.106 MB / 485.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.121, allocations: 319.7 kB / 485.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.862e-05/0.1211, allocations: 11.11 kB / 485.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1211, allocations: 47.55 kB / 485.6 MB, free: 1.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 3.606e-06/0.1211, allocations: 4 kB / 485.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.002886/0.124, allocations: 1.346 MB / 487 MB, free: 116 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.124, allocations: 68.41 kB / 487.1 MB, free: 36 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1449/0.269, allocations: 0.9377 MB / 488 MB, free: 50.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-05/0.2691, allocations: 36.3 kB / 488 MB, free: 50.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.2695, allocations: 0.6463 MB / 488.7 MB, free: 49.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.2697, allocations: 314.9 kB / 489 MB, free: 49.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.27, allocations: 245.1 kB / 489.2 MB, free: 49.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.2701, allocations: 352.6 kB / 489.6 MB, free: 49.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.2706, allocations: 318.1 kB / 489.9 MB, free: 49.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.2712, allocations: 0.7274 MB / 490.6 MB, free: 48.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.2723, allocations: 1.102 MB / 491.7 MB, free: 47.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2723, allocations: 3.938 kB / 491.7 MB, free: 47.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002241/0.2745, allocations: 1.356 MB / 493.1 MB, free: 47.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.2746, allocations: 10.5 kB / 493.1 MB, free: 47.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.2746, allocations: 12.59 kB / 493.1 MB, free: 47.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.2761, allocations: 302.3 kB / 493.4 MB, free: 46.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.2772, allocations: 305.9 kB / 493.7 MB, free: 46.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/0.2808, allocations: 3.466 MB / 497.1 MB, free: 43.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.282, allocations: 127.9 kB / 497.3 MB, free: 43.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/0.2821, allocations: 56.91 kB / 497.3 MB, free: 43.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (157): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(12,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0003877/0.2825, allocations: 313.1 kB / 497.6 MB, free: 43.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.2826, allocations: 134.3 kB / 497.8 MB, free: 43.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.2842, allocations: 0.8808 MB / 498.6 MB, free: 43.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.2842, allocations: 13.52 kB / 498.7 MB, free: 43.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2843, allocations: 3.938 kB / 498.7 MB, free: 43.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.2846, allocations: 258.5 kB / 498.9 MB, free: 42.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.2847, allocations: 15.02 kB / 498.9 MB, free: 42.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/0.2853, allocations: 34.17 kB / 499 MB, free: 42.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.2854, allocations: 57.72 kB / 499 MB, free: 42.86 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001736/0.2871, allocations: 0.8873 MB / 499.9 MB, free: 42.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003794/0.2909, allocations: 3.648 MB / 0.4918 GB, free: 40.15 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003291/0.2913, allocations: 263.3 kB / 0.492 GB, free: 40.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006478/0.2919, allocations: 0.6119 MB / 0.4926 GB, free: 39.78 MB / 330.7 MB Notification: Performance of Backend: time 4.1e-07/0.2919, allocations: 0 / 0.4926 GB, free: 39.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.2945, allocations: 1.267 MB / 0.4938 GB, free: 39.15 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.003645/0.2981, allocations: 3.811 MB / 0.4976 GB, free: 36.49 MB / 330.7 MB Notification: Performance of Templates: time 0.02129/0.3195, allocations: 15.89 MB / 0.5131 GB, free: 24.34 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe 2>&1)