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.004525/0.004525, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001029/0.001029, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1631/0.1631, allocations: 16.8 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 69.94 kB / 426.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07758/0.07879, allocations: 53.57 MB / 480.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.01981/0.09863, allocations: 28.74 MB / 0.497 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.1108, allocations: 8.155 MB / 0.5049 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.1135, allocations: 63.69 kB / 0.505 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.1161, allocations: 1.063 MB / 0.506 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008987/0.1251, allocations: 3.732 MB / 0.5097 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.1283, allocations: 1.405 MB / 0.5111 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007488/0.1358, allocations: 6.483 MB / 0.5174 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007873/0.1366, allocations: 464.6 kB / 0.5178 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.1394, allocations: 2.183 MB / 0.52 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.1421, allocations: 2.381 MB / 0.5223 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.1426, allocations: 256 kB / 0.5225 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.1442, allocations: 0.7458 MB / 0.5233 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.1447, allocations: 0.6647 MB / 0.5239 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.1466, allocations: 2.068 MB / 0.5259 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.1514, allocations: 4.7 MB / 0.5305 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1514, allocations: 0 / 0.5305 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1514, allocations: 0 / 0.5305 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-05/0.1515, allocations: 0 / 0.5305 GB, free: 13.49 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.019/0.1705, allocations: 5.982 MB / 0.5364 GB, free: 7.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1705, allocations: 12.03 kB / 0.5364 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.1728, allocations: 0.5314 MB / 0.5369 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/0.1768, allocations: 2.174 MB / 0.539 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.1769, allocations: 205.6 kB / 0.5392 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003641/0.1773, allocations: 272.4 kB / 0.5395 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/0.1817, allocations: 3.176 MB / 0.5426 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.866e-05/0.1817, allocations: 19.81 kB / 0.5426 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.182, allocations: 120 kB / 0.5427 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.182, allocations: 72 kB / 0.5428 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003861/0.1859, allocations: 2.525 MB / 0.5452 GB, free: 13.79 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.02118/0.2071, allocations: 20.5 MB / 0.5653 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.2115, allocations: 2.532 MB / 0.5677 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.2128, allocations: 0.9594 MB / 0.5687 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.213, allocations: 37.98 kB / 0.5687 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.213, allocations: 64.56 kB / 0.5688 GB, free: 4.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 4.699e-06/0.213, allocations: 0 / 0.5688 GB, free: 4.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.01859/0.2316, allocations: 5.979 MB / 0.5746 GB, free: 14.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.2317, allocations: 81.34 kB / 0.5747 GB, free: 14.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/0.2357, allocations: 2.941 MB / 0.5775 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.2359, allocations: 81.7 kB / 0.5776 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.237, allocations: 1.416 MB / 0.579 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009585/0.238, allocations: 1.015 MB / 0.58 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002217/0.2402, allocations: 1.516 MB / 0.5815 GB, free: 7.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.2403, allocations: 301.1 kB / 0.5818 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/0.2435, allocations: 2.075 MB / 0.5838 GB, free: 5.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/0.2471, allocations: 2.752 MB / 0.5865 GB, free: 2.402 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2019/0.449, allocations: 3.973 MB / 0.5904 GB, free: 102.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.03e-05/0.4491, allocations: 0 / 0.5904 GB, free: 102.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01198/0.461, allocations: 6.978 MB / 0.5972 GB, free: 101.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.4611, allocations: 9.406 kB / 0.5972 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/0.4611, allocations: 6.156 kB / 0.5972 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/0.4639, allocations: 0.9281 MB / 0.5981 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00571/0.4696, allocations: 1.662 MB / 0.5997 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008676/0.4783, allocations: 6.982 MB / 0.6065 GB, free: 96.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/0.4831, allocations: 0.5403 MB / 0.6071 GB, free: 96.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.4834, allocations: 260.3 kB / 0.6073 GB, free: 96.58 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.0009526/0.4844, allocations: 0.677 MB / 0.608 GB, free: 96.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004054/0.4848, allocations: 345.2 kB / 0.6083 GB, free: 96.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/0.4888, allocations: 2.687 MB / 0.6109 GB, free: 94.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4888, allocations: 27.34 kB / 0.611 GB, free: 94.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4888, allocations: 0 / 0.611 GB, free: 94.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.4889, allocations: 17.06 kB / 0.611 GB, free: 94.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/0.495, allocations: 5.538 MB / 0.6164 GB, free: 92.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.495, allocations: 3.938 kB / 0.6164 GB, free: 92.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.4962, allocations: 370.1 kB / 0.6167 GB, free: 92.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.4982, allocations: 0.7482 MB / 0.6175 GB, free: 92.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.4983, allocations: 48.64 kB / 0.6175 GB, free: 92.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007537/0.5058, allocations: 6.776 MB / 0.6241 GB, free: 86.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5059, allocations: 0 / 0.6241 GB, free: 86.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004347/0.5102, allocations: 2.754 MB / 0.6268 GB, free: 83.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/0.5116, allocations: 0.7073 MB / 0.6275 GB, free: 83.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/0.512, allocations: 43.97 kB / 0.6276 GB, free: 83.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/0.5141, allocations: 104.3 kB / 0.6277 GB, free: 83.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.5143, allocations: 153.8 kB / 0.6278 GB, free: 82.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5144, allocations: 71.97 kB / 0.6279 GB, free: 82.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.5163, allocations: 1.775 MB / 0.6296 GB, free: 81.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5163, allocations: 0 / 0.6296 GB, free: 81.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002809/0.5192, allocations: 1.614 MB / 0.6312 GB, free: 79.52 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.0003674/0.5195, allocations: 295.8 kB / 0.6315 GB, free: 79.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006073/0.5256, allocations: 5.076 MB / 0.6364 GB, free: 74.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5256, allocations: 3.938 kB / 0.6364 GB, free: 74.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.5276, allocations: 1.553 MB / 0.6379 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.001788/0.5294, allocations: 261.8 kB / 0.6382 GB, free: 72.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.5346, allocations: 4.559 MB / 0.6426 GB, free: 67.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.5353, allocations: 1.732 MB / 0.6443 GB, free: 66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001572/0.5369, allocations: 0.5534 MB / 0.6449 GB, free: 65.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/0.5375, allocations: 239.4 kB / 0.6451 GB, free: 65.24 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5375, allocations: 4 kB / 0.6451 GB, free: 65.23 MB / 462.1 MB Notification: Performance of Templates: time 0.05369/0.5912, allocations: 45.53 MB / 0.6896 GB, free: 19.84 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)