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/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 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 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 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009602/0.0009603, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06216/0.06216, allocations: 14.16 MB / 284.5 MB, free: 7.133 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005257, allocations: 18.66 kB / 348.8 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 51.11 MB / 399.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow): time 0.008996/0.1238, allocations: 8.427 MB / 408.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0077/0.1315, allocations: 4.32 MB / 412.7 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.1331, allocations: 23.88 kB / 412.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.1348, allocations: 425.7 kB / 413.1 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005318/0.1401, allocations: 1.792 MB / 414.9 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009944/0.1411, allocations: 446.3 kB / 415.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.1449, allocations: 2.148 MB / 417.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.1452, allocations: 180.2 kB / 417.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1465, allocations: 0.8095 MB / 418.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008776/0.1474, allocations: 0.7627 MB / 419.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.1475, allocations: 36 kB / 419.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.1485, allocations: 379.6 kB / 419.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1487, allocations: 163.1 kB / 419.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.149, allocations: 313 kB / 420.1 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.1505, allocations: 1.477 MB / 421.6 MB, free: 8.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1505, allocations: 0 / 421.6 MB, free: 8.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1505, allocations: 0 / 421.6 MB, free: 8.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.1506, allocations: 0 / 421.6 MB, free: 8.332 MB / 318.1 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.006102/0.1567, allocations: 2.042 MB / 423.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.1567, allocations: 8.031 kB / 423.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.1577, allocations: 238.1 kB / 423.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.1593, allocations: 0.9211 MB / 424.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.1594, allocations: 78.19 kB / 424.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.1595, allocations: 104 kB / 425 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.1611, allocations: 1.056 MB / 426 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.1611, allocations: 0 / 426 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.1612, allocations: 43.94 kB / 426.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.1612, allocations: 28 kB / 426.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.1628, allocations: 1.043 MB / 427.2 MB, free: 2.609 MB / 318.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.2189/0.3817, allocations: 7.632 MB / 434.8 MB, free: 31.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.3834, allocations: 1.094 MB / 435.9 MB, free: 30.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.856e-05/0.3834, allocations: 16.64 kB / 435.9 MB, free: 30.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3835, allocations: 43.16 kB / 435.9 MB, free: 30.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=88): time 2.816e-06/0.3835, allocations: 3.281 kB / 435.9 MB, free: 30.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=88): time 0.002946/0.3864, allocations: 1.342 MB / 437.3 MB, free: 30.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.3865, allocations: 63.28 kB / 437.3 MB, free: 30.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3877, allocations: 0.9333 MB / 438.3 MB, free: 29.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.3878, allocations: 41.58 kB / 438.3 MB, free: 29.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.3882, allocations: 0.6403 MB / 439 MB, free: 29.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.3885, allocations: 322.3 kB / 439.3 MB, free: 29.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3885, allocations: 24.31 kB / 439.3 MB, free: 29.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3886, allocations: 362.2 kB / 439.7 MB, free: 28.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.3892, allocations: 313.3 kB / 440 MB, free: 28.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/0.3899, allocations: 0.7107 MB / 440.7 MB, free: 28.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.3906, allocations: 444.2 kB / 441.1 MB, free: 27.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.3906, allocations: 4.438 kB / 441.1 MB, free: 27.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00231/0.3929, allocations: 1.342 MB / 442.4 MB, free: 27.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.393, allocations: 10.59 kB / 442.5 MB, free: 27.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.393, allocations: 12.44 kB / 442.5 MB, free: 27.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.3945, allocations: 301.5 kB / 442.8 MB, free: 27.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.3956, allocations: 302.1 kB / 443.1 MB, free: 27.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003711/0.3993, allocations: 3.535 MB / 446.6 MB, free: 24.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4005, allocations: 122.5 kB / 446.7 MB, free: 24.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.4006, allocations: 57.86 kB / 446.8 MB, free: 24.02 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 0} * Non-linear torn systems: 1 {12 0} Notification: Performance of prepare postOptimizeDAE: time 0.000514/0.4012, allocations: 308.7 kB / 447.1 MB, free: 23.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.4013, allocations: 132.7 kB / 447.2 MB, free: 23.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.403, allocations: 0.8865 MB / 448.1 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.4031, allocations: 4.5 kB / 448.1 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4031, allocations: 0 / 448.1 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.4035, allocations: 264.1 kB / 448.4 MB, free: 23.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.4036, allocations: 15.69 kB / 448.4 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.4042, allocations: 30.06 kB / 448.4 MB, free: 23.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4043, allocations: 64.36 kB / 448.5 MB, free: 23.02 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001858/0.4061, allocations: 0.8896 MB / 449.3 MB, free: 22.62 MB / 318.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001441/0.4076, allocations: 1.152 MB / 450.5 MB, free: 21.98 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003659/0.408, allocations: 261.4 kB / 450.8 MB, free: 21.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008301/0.4088, allocations: 0.6064 MB / 451.4 MB, free: 21.61 MB / 318.1 MB Notification: Performance of Backend: time 4.31e-07/0.4088, allocations: 0 / 451.4 MB, free: 21.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.4114, allocations: 1.258 MB / 452.6 MB, free: 20.99 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.003045/0.4144, allocations: 2.744 MB / 455.4 MB, free: 19.18 MB / 318.1 MB Notification: Performance of Templates: time 0.02228/0.4367, allocations: 14 MB / 469.4 MB, free: 8.5 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: