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.001359/0.001359, allocations: 107 kB / 16.41 MB, free: 6.496 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.001127/0.001127, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08227/0.08227, allocations: 16.79 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001924, allocations: 59.91 kB / 427.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1255, allocations: 53.56 MB / 480.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02754/0.1531, allocations: 28.73 MB / 0.4976 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2987/0.4518, allocations: 8.158 MB / 0.5056 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00448/0.4563, allocations: 60.41 kB / 0.5056 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004251/0.4606, allocations: 1.071 MB / 0.5067 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.4724, allocations: 3.731 MB / 0.5103 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.4764, allocations: 1.392 MB / 0.5117 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.4878, allocations: 6.49 MB / 0.518 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.4892, allocations: 468.6 kB / 0.5185 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005415/0.4947, allocations: 2.186 MB / 0.5206 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005628/0.5003, allocations: 2.374 MB / 0.5229 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.5015, allocations: 254.6 kB / 0.5232 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.5055, allocations: 0.7476 MB / 0.5239 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.5062, allocations: 0.6673 MB / 0.5245 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005105/0.5113, allocations: 2.069 MB / 0.5266 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008296/0.5196, allocations: 4.699 MB / 0.5311 GB, free: 13.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5196, allocations: 0 / 0.5311 GB, free: 13.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5196, allocations: 0 / 0.5311 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001373/0.5198, allocations: 0 / 0.5311 GB, free: 13.72 MB / 398.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.02389/0.5437, allocations: 5.978 MB / 0.537 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5438, allocations: 8.406 kB / 0.537 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.5464, allocations: 0.5362 MB / 0.5375 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/0.5516, allocations: 2.179 MB / 0.5396 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.5518, allocations: 211 kB / 0.5398 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/0.5521, allocations: 267.7 kB / 0.5401 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004672/0.5568, allocations: 3.169 MB / 0.5432 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/0.5569, allocations: 23.23 kB / 0.5432 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.5571, allocations: 125.9 kB / 0.5433 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.5572, allocations: 73.66 kB / 0.5434 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.5612, allocations: 2.524 MB / 0.5459 GB, free: 3.504 MB / 398.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.0273/0.5885, allocations: 20.5 MB / 0.5659 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005574/0.5942, allocations: 2.513 MB / 0.5683 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.5959, allocations: 0.9522 MB / 0.5693 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.5961, allocations: 46.92 kB / 0.5693 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.954e-05/0.5962, allocations: 64.56 kB / 0.5694 GB, free: 10.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=252): time 6.041e-06/0.5962, allocations: 4 kB / 0.5694 GB, free: 10.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.02234/0.6185, allocations: 5.977 MB / 0.5752 GB, free: 4.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/0.6187, allocations: 77.41 kB / 0.5753 GB, free: 4.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/0.6289, allocations: 2.942 MB / 0.5782 GB, free: 1.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006402/0.6296, allocations: 73.7 kB / 0.5782 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002393/0.632, allocations: 1.426 MB / 0.5796 GB, free: 88 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002395/0.6344, allocations: 1.006 MB / 0.5806 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003112/0.6376, allocations: 1.508 MB / 0.5821 GB, free: 13.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6377, allocations: 305.1 kB / 0.5824 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/0.6414, allocations: 2.071 MB / 0.5844 GB, free: 11.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/0.646, allocations: 2.754 MB / 0.5871 GB, free: 8.348 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006807/0.6528, allocations: 3.984 MB / 0.591 GB, free: 4.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/0.6529, allocations: 0 / 0.591 GB, free: 4.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.0155/0.6684, allocations: 6.98 MB / 0.5978 GB, free: 13.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.6684, allocations: 8 kB / 0.5978 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.6685, allocations: 12.2 kB / 0.5978 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/0.6713, allocations: 0.9278 MB / 0.5987 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007031/0.6783, allocations: 1.654 MB / 0.6003 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.6914, allocations: 6.995 MB / 0.6072 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008234/0.6997, allocations: 0.5575 MB / 0.6077 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/0.7011, allocations: 256 kB / 0.608 GB, free: 2.621 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.00284/0.704, allocations: 0.6844 MB / 0.6086 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/0.7056, allocations: 340 kB / 0.6089 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006549/0.7121, allocations: 2.683 MB / 0.6116 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.7122, allocations: 28 kB / 0.6116 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.7122, allocations: 0 / 0.6116 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.7122, allocations: 15.94 kB / 0.6116 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.7248, allocations: 5.536 MB / 0.617 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.7249, allocations: 0 / 0.617 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.7265, allocations: 379.5 kB / 0.6174 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/0.7289, allocations: 0.7442 MB / 0.6181 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/0.7291, allocations: 47.98 kB / 0.6182 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.7405, allocations: 6.773 MB / 0.6248 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7405, allocations: 0 / 0.6248 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007024/0.7476, allocations: 2.756 MB / 0.6275 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002926/0.7505, allocations: 0.7035 MB / 0.6281 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/0.7519, allocations: 47.94 kB / 0.6282 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003834/0.7558, allocations: 103.8 kB / 0.6283 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/0.7563, allocations: 161.7 kB / 0.6284 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/0.7566, allocations: 75.97 kB / 0.6285 GB, free: 13.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004766/0.7614, allocations: 1.77 MB / 0.6302 GB, free: 11.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7614, allocations: 0 / 0.6302 GB, free: 11.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01012/0.7715, allocations: 1.605 MB / 0.6318 GB, free: 9.891 MB / 494.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.001056/0.7726, allocations: 298.2 kB / 0.6321 GB, free: 9.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01186/0.7845, allocations: 5.084 MB / 0.6371 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.7846, allocations: 4 kB / 0.6371 GB, free: 4.488 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0035/0.7881, allocations: 1.551 MB / 0.6386 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/0.793, allocations: 258.4 kB / 0.6388 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.8035, allocations: 4.604 MB / 0.6433 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/0.8055, allocations: 1.73 MB / 0.645 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.8073, allocations: 275.4 kB / 0.6453 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.136e-06/0.8073, allocations: 0 / 0.6453 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.1039/0.9111, allocations: 70.09 MB / 0.7137 GB, free: 5.766 MB / 0.5606 GB 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)