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.005879/0.00588, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001367/0.001367, allocations: 189.6 kB / 16.67 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2085/0.2085, allocations: 16.68 MB / 307.2 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 68.69 kB / 426.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1127, allocations: 53.55 MB / 480 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02743/0.1402, allocations: 28.74 MB / 0.4968 GB, free: 76 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.1574, allocations: 8.163 MB / 0.5048 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007134/0.1645, allocations: 63.69 kB / 0.5049 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005806/0.1704, allocations: 1.071 MB / 0.5059 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01898/0.1895, allocations: 3.517 MB / 0.5094 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008345/0.1979, allocations: 1.388 MB / 0.5107 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01717/0.2151, allocations: 6.49 MB / 0.517 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.2171, allocations: 464.6 kB / 0.5175 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006512/0.2236, allocations: 2.144 MB / 0.5196 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007677/0.2314, allocations: 2.373 MB / 0.5219 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001699/0.2331, allocations: 263.9 kB / 0.5222 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004973/0.2382, allocations: 0.7496 MB / 0.5229 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.24, allocations: 0.6569 MB / 0.5235 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006494/0.2465, allocations: 2.075 MB / 0.5256 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.2569, allocations: 4.716 MB / 0.5302 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.257, allocations: 4 kB / 0.5302 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.257, allocations: 0 / 0.5302 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002151/0.2572, allocations: 0 / 0.5302 GB, free: 13.84 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.02583/0.2831, allocations: 6.081 MB / 0.5361 GB, free: 7.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.2831, allocations: 8.031 kB / 0.5361 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.2866, allocations: 0.553 MB / 0.5367 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00635/0.293, allocations: 2.196 MB / 0.5388 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.2932, allocations: 205.6 kB / 0.539 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006541/0.2939, allocations: 272.4 kB / 0.5393 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006475/0.3004, allocations: 3.177 MB / 0.5424 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.3006, allocations: 19.81 kB / 0.5424 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000505/0.3011, allocations: 120 kB / 0.5425 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.976e-05/0.3012, allocations: 72 kB / 0.5426 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005138/0.3063, allocations: 2.529 MB / 0.545 GB, free: 14 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.02981/0.3362, allocations: 20.52 MB / 0.5651 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/0.3419, allocations: 2.526 MB / 0.5675 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.3438, allocations: 0.9633 MB / 0.5685 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.344, allocations: 38.05 kB / 0.5685 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.52e-05/0.3441, allocations: 64.5 kB / 0.5686 GB, free: 4.965 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 8.395e-06/0.3441, allocations: 112 / 0.5686 GB, free: 4.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02269/0.3668, allocations: 6.004 MB / 0.5744 GB, free: 14.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.3669, allocations: 81.41 kB / 0.5745 GB, free: 14.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00618/0.3731, allocations: 2.946 MB / 0.5774 GB, free: 11.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005343/0.3736, allocations: 77.7 kB / 0.5775 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001691/0.3753, allocations: 1.456 MB / 0.5789 GB, free: 10.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/0.377, allocations: 1.054 MB / 0.5799 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00447/0.3815, allocations: 1.521 MB / 0.5814 GB, free: 7.715 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3817, allocations: 305.1 kB / 0.5817 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004696/0.3864, allocations: 2.075 MB / 0.5837 GB, free: 5.332 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005835/0.3922, allocations: 2.752 MB / 0.5864 GB, free: 2.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2578/0.6501, allocations: 3.967 MB / 0.5903 GB, free: 101.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-05/0.6502, allocations: 3.875 kB / 0.5903 GB, free: 101.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01455/0.6647, allocations: 7.001 MB / 0.5971 GB, free: 101 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.6648, allocations: 8.125 kB / 0.5971 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.6649, allocations: 5.469 kB / 0.5971 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/0.6681, allocations: 0.9307 MB / 0.598 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007922/0.676, allocations: 1.656 MB / 0.5997 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.6873, allocations: 7.006 MB / 0.6065 GB, free: 96.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006439/0.6938, allocations: 0.556 MB / 0.607 GB, free: 96.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008553/0.6946, allocations: 258.1 kB / 0.6073 GB, free: 96.39 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.001647/0.6963, allocations: 0.6798 MB / 0.608 GB, free: 95.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007908/0.6971, allocations: 362.2 kB / 0.6083 GB, free: 95.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/0.7018, allocations: 2.685 MB / 0.6109 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.7019, allocations: 23.09 kB / 0.6109 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.7019, allocations: 3.656 kB / 0.6109 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.7019, allocations: 14.58 kB / 0.611 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00851/0.7105, allocations: 5.539 MB / 0.6164 GB, free: 92.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.7105, allocations: 5.062 kB / 0.6164 GB, free: 92.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.7118, allocations: 374 kB / 0.6167 GB, free: 92.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/0.714, allocations: 0.745 MB / 0.6175 GB, free: 92.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.7142, allocations: 40.34 kB / 0.6175 GB, free: 92.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008671/0.7228, allocations: 6.796 MB / 0.6241 GB, free: 86.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7229, allocations: 4 kB / 0.6241 GB, free: 86.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.7283, allocations: 2.777 MB / 0.6268 GB, free: 83.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/0.7303, allocations: 0.7171 MB / 0.6275 GB, free: 83.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000669/0.731, allocations: 42.75 kB / 0.6276 GB, free: 83.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/0.7334, allocations: 105.9 kB / 0.6277 GB, free: 83.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.7338, allocations: 150.4 kB / 0.6278 GB, free: 82.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.7339, allocations: 83.16 kB / 0.6279 GB, free: 82.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00206/0.736, allocations: 1.77 MB / 0.6296 GB, free: 81.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.736, allocations: 0 / 0.6296 GB, free: 81.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003641/0.7396, allocations: 1.616 MB / 0.6312 GB, free: 79.53 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.0004485/0.7401, allocations: 296 kB / 0.6315 GB, free: 79.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007047/0.7471, allocations: 5.081 MB / 0.6365 GB, free: 74.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.7472, allocations: 4.75 kB / 0.6365 GB, free: 74.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.7494, allocations: 1.559 MB / 0.638 GB, free: 72.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.7517, allocations: 258.4 kB / 0.6382 GB, free: 72.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/0.7581, allocations: 4.637 MB / 0.6428 GB, free: 67.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.7589, allocations: 1.734 MB / 0.6445 GB, free: 65.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002068/0.761, allocations: 0.5567 MB / 0.645 GB, free: 65.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/0.7617, allocations: 247.4 kB / 0.6452 GB, free: 65.13 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7617, allocations: 0 / 0.6452 GB, free: 65.13 MB / 462.1 MB Notification: Performance of Templates: time 0.06239/0.8241, allocations: 45.54 MB / 0.6897 GB, free: 19.74 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)