Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.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.StaticGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.7 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.001391/0.001391, allocations: 177.3 kB / 15.95 MB, free: 216 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06435/0.06435, allocations: 14.16 MB / 284.5 MB, free: 7.137 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.0007439/0.000744, allocations: 16 kB / 348.8 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1308, allocations: 51.12 MB / 400 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid): time 0.01087/0.1417, allocations: 10.14 MB / 410.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009157/0.1509, allocations: 5.043 MB / 415.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.1526, allocations: 31.88 kB / 415.2 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.1542, allocations: 465.5 kB / 415.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005654/0.1599, allocations: 2.014 MB / 417.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1615, allocations: 0.7046 MB / 418.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005166/0.1666, allocations: 2.575 MB / 420.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.1671, allocations: 221.4 kB / 421.1 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.1689, allocations: 0.9926 MB / 422.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.1704, allocations: 1.016 MB / 423.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.1706, allocations: 64 kB / 423.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.1718, allocations: 419.6 kB / 423.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.1721, allocations: 254.8 kB / 423.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004636/0.1725, allocations: 380.8 kB / 424.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.1746, allocations: 1.851 MB / 426.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1746, allocations: 0 / 426.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1746, allocations: 0 / 426.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.844e-05/0.1747, allocations: 0 / 426.1 MB, free: 3.828 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.008691/0.1834, allocations: 2.636 MB / 428.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1834, allocations: 8.031 kB / 428.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.1846, allocations: 277.6 kB / 429 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1598/0.3445, allocations: 1.078 MB / 430.1 MB, free: 35.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.3446, allocations: 109.8 kB / 430.2 MB, free: 35.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.3448, allocations: 142.7 kB / 430.3 MB, free: 35.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.3469, allocations: 1.262 MB / 431.6 MB, free: 35.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.3469, allocations: 7.766 kB / 431.6 MB, free: 35.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.991e-05/0.347, allocations: 55.27 kB / 431.6 MB, free: 35.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.3471, allocations: 32.64 kB / 431.7 MB, free: 35.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.3491, allocations: 1.291 MB / 433 MB, free: 35.04 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.009251/0.3584, allocations: 8.474 MB / 441.4 MB, free: 28.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.3608, allocations: 2.115 MB / 443.6 MB, free: 26.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.49e-05/0.3609, allocations: 21.11 kB / 443.6 MB, free: 26.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.3609, allocations: 46.67 kB / 443.6 MB, free: 26.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 3.717e-06/0.3609, allocations: 0 / 443.6 MB, free: 26.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=141): time 0.0102/0.3711, allocations: 4.073 MB / 447.7 MB, free: 24.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.3712, allocations: 65.78 kB / 447.8 MB, free: 24.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.3725, allocations: 1.085 MB / 448.8 MB, free: 24.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.3726, allocations: 55.92 kB / 448.9 MB, free: 24.31 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.3729, allocations: 0.6756 MB / 449.6 MB, free: 23.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.3732, allocations: 0.5035 MB / 450.1 MB, free: 23.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.3733, allocations: 40.25 kB / 450.1 MB, free: 23.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.3734, allocations: 382.1 kB / 450.5 MB, free: 22.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008232/0.3742, allocations: 0.55 MB / 451 MB, free: 22.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/0.3752, allocations: 0.9987 MB / 452 MB, free: 21.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3763, allocations: 0.7113 MB / 452.7 MB, free: 21.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3763, allocations: 3.375 kB / 452.8 MB, free: 21.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.004351/0.3806, allocations: 2.328 MB / 455.1 MB, free: 20.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.3807, allocations: 15.8 kB / 455.1 MB, free: 20.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3807, allocations: 16.56 kB / 455.1 MB, free: 20.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005943/0.3866, allocations: 1.191 MB / 456.3 MB, free: 19.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.3887, allocations: 0.4931 MB / 456.8 MB, free: 19.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.399, allocations: 12.62 MB / 469.4 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.4009, allocations: 119.3 kB / 469.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.4012, allocations: 83.98 kB / 469.6 MB, free: 7.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (234): * Single equations (assignments): 226 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0} * Non-linear torn systems: 5 {23 0,2 0,2 0,2 0,2 0} Notification: Performance of prepare postOptimizeDAE: time 0.0007449/0.402, allocations: 361.2 kB / 470 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.4023, allocations: 158.1 kB / 470.1 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.405, allocations: 1.518 MB / 471.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.405, allocations: 10.7 kB / 471.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.405, allocations: 11.94 kB / 471.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006471/0.4057, allocations: 323 kB / 472 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.406, allocations: 24 kB / 472 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/0.4069, allocations: 43.78 kB / 472 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.4071, allocations: 109.1 kB / 472.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003499/0.4106, allocations: 1.548 MB / 473.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002026/0.4126, allocations: 1.719 MB / 475.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005113/0.4131, allocations: 418.3 kB / 475.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008676/0.414, allocations: 0.6767 MB / 476.5 MB, free: 180 kB / 318.1 MB Notification: Performance of Backend: time 8.52e-07/0.414, allocations: 4 kB / 476.5 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005183/0.4192, allocations: 2.613 MB / 479.1 MB, free: 13.5 MB / 334.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.005507/0.4247, allocations: 3.96 MB / 483.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Templates: time 0.03717/0.4619, allocations: 20.5 MB / 0.4918 GB, free: 5.035 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.pipe 2>&1) Environment - environmentSimulation: