Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005242/0.005242, allocations: 97.23 kB / 15.73 MB, free: 6.047 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.00132/0.00132, allocations: 196.8 kB / 16.68 MB, free: 5.973 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1813/0.1813, allocations: 16.68 MB / 307.2 MB, free: 14.78 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 65.64 kB / 426.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.086, allocations: 53.56 MB / 480 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02511/0.1112, allocations: 28.72 MB / 0.4968 GB, free: 276 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.1253, allocations: 8.175 MB / 0.5048 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.1285, allocations: 63.69 kB / 0.5049 GB, free: 8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.1317, allocations: 1.063 MB / 0.5059 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.1419, allocations: 3.514 MB / 0.5093 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.1457, allocations: 1.401 MB / 0.5107 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009531/0.1553, allocations: 6.49 MB / 0.517 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009762/0.1563, allocations: 460.6 kB / 0.5175 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.1599, allocations: 2.155 MB / 0.5196 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003871/0.1638, allocations: 2.369 MB / 0.5219 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007069/0.1645, allocations: 259.9 kB / 0.5221 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.1666, allocations: 0.7458 MB / 0.5229 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.1673, allocations: 0.6686 MB / 0.5235 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002534/0.1698, allocations: 2.068 MB / 0.5255 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006311/0.1761, allocations: 4.72 MB / 0.5302 GB, free: 14.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1762, allocations: 0 / 0.5302 GB, free: 14.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1762, allocations: 0 / 0.5302 GB, free: 14.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.74e-05/0.1763, allocations: 0 / 0.5302 GB, free: 14.03 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.02092/0.1972, allocations: 6.08 MB / 0.5361 GB, free: 7.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1972, allocations: 8.031 kB / 0.5361 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.1995, allocations: 0.5491 MB / 0.5366 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/0.2037, allocations: 2.2 MB / 0.5388 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.2039, allocations: 205.6 kB / 0.539 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/0.2042, allocations: 268.4 kB / 0.5392 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004735/0.209, allocations: 3.185 MB / 0.5424 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.209, allocations: 19.81 kB / 0.5424 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/0.2093, allocations: 120 kB / 0.5425 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.07e-05/0.2094, allocations: 72 kB / 0.5426 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004189/0.2136, allocations: 2.521 MB / 0.545 GB, free: 14.19 MB / 430.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.02449/0.2381, allocations: 20.52 MB / 0.5651 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/0.2429, allocations: 2.53 MB / 0.5675 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.2444, allocations: 0.9633 MB / 0.5685 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.2446, allocations: 38.05 kB / 0.5685 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.635e-05/0.2447, allocations: 68.5 kB / 0.5686 GB, free: 5.145 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 6.061e-06/0.2447, allocations: 112 / 0.5686 GB, free: 5.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02137/0.2661, allocations: 5.997 MB / 0.5744 GB, free: 15.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.2662, allocations: 77.41 kB / 0.5745 GB, free: 15.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004703/0.2709, allocations: 2.95 MB / 0.5774 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.2711, allocations: 77.7 kB / 0.5775 GB, free: 11.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.2727, allocations: 1.459 MB / 0.5789 GB, free: 10.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001325/0.2741, allocations: 1.05 MB / 0.5799 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002175/0.2763, allocations: 1.521 MB / 0.5814 GB, free: 7.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2764, allocations: 305.1 kB / 0.5817 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003566/0.28, allocations: 2.078 MB / 0.5837 GB, free: 5.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004152/0.2841, allocations: 2.748 MB / 0.5864 GB, free: 2.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2148/0.4989, allocations: 3.976 MB / 0.5903 GB, free: 101.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.386e-05/0.499, allocations: 2.906 kB / 0.5903 GB, free: 101.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01369/0.5127, allocations: 6.997 MB / 0.5971 GB, free: 101.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.5128, allocations: 7.094 kB / 0.5971 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.5128, allocations: 5.922 kB / 0.5971 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003228/0.516, allocations: 0.9332 MB / 0.598 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006618/0.5227, allocations: 1.663 MB / 0.5997 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009714/0.5324, allocations: 6.993 MB / 0.6065 GB, free: 96.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00596/0.5384, allocations: 0.5568 MB / 0.607 GB, free: 96.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007005/0.5391, allocations: 256.7 kB / 0.6073 GB, free: 96.51 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1032 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.001518/0.5407, allocations: 0.6765 MB / 0.6079 GB, free: 95.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007555/0.5414, allocations: 361.7 kB / 0.6083 GB, free: 95.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/0.546, allocations: 2.689 MB / 0.6109 GB, free: 94.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.5461, allocations: 22.16 kB / 0.6109 GB, free: 94.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5461, allocations: 1.188 kB / 0.6109 GB, free: 94.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.5461, allocations: 14.48 kB / 0.6109 GB, free: 94.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00744/0.5535, allocations: 5.545 MB / 0.6164 GB, free: 92.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.5536, allocations: 0 / 0.6164 GB, free: 92.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.555, allocations: 375 kB / 0.6167 GB, free: 92.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.5572, allocations: 0.7427 MB / 0.6174 GB, free: 92.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.5574, allocations: 39.16 kB / 0.6175 GB, free: 92.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008334/0.5657, allocations: 6.804 MB / 0.6241 GB, free: 86.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5658, allocations: 4 kB / 0.6241 GB, free: 86.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004827/0.5706, allocations: 2.771 MB / 0.6268 GB, free: 84.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/0.5724, allocations: 0.7254 MB / 0.6275 GB, free: 83.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006956/0.5731, allocations: 43.98 kB / 0.6276 GB, free: 83.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/0.5755, allocations: 101.9 kB / 0.6277 GB, free: 83.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.5758, allocations: 153.6 kB / 0.6278 GB, free: 83.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.5759, allocations: 75.97 kB / 0.6279 GB, free: 83.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002114/0.5781, allocations: 1.766 MB / 0.6296 GB, free: 81.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5781, allocations: 0 / 0.6296 GB, free: 81.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003496/0.5816, allocations: 1.619 MB / 0.6312 GB, free: 79.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004475/0.582, allocations: 296.1 kB / 0.6315 GB, free: 79.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007118/0.5892, allocations: 5.092 MB / 0.6365 GB, free: 74.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.5892, allocations: 3.938 kB / 0.6365 GB, free: 74.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.5914, allocations: 1.55 MB / 0.638 GB, free: 72.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.594, allocations: 256.6 kB / 0.6382 GB, free: 72.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/0.6, allocations: 4.647 MB / 0.6428 GB, free: 67.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/0.6008, allocations: 1.734 MB / 0.6445 GB, free: 66.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001949/0.6028, allocations: 0.5565 MB / 0.645 GB, free: 65.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/0.6035, allocations: 243.4 kB / 0.6452 GB, free: 65.36 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6035, allocations: 0 / 0.6452 GB, free: 65.36 MB / 462.1 MB Notification: Performance of Templates: time 0.06031/0.6638, allocations: 45.53 MB / 0.6897 GB, free: 19.97 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)