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.001613/0.001613, allocations: 105.2 kB / 16.27 MB, free: 5.996 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.001582/0.001582, allocations: 191.5 kB / 17.2 MB, free: 5.605 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07726/0.07726, allocations: 16.68 MB / 307.7 MB, free: 14.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 60.61 kB / 372.3 MB, free: 48.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09485, allocations: 53.57 MB / 425.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02248/0.1174, allocations: 28.73 MB / 454.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.1315, allocations: 8.163 MB / 462.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003644/0.1352, allocations: 59.75 kB / 462.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.1386, allocations: 1.079 MB / 463.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.1488, allocations: 3.509 MB / 467.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.153, allocations: 1.396 MB / 468.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.1633, allocations: 6.453 MB / 475.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.1644, allocations: 460.6 kB / 475.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.168, allocations: 2.14 MB / 477.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003906/0.1719, allocations: 2.377 MB / 480.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008494/0.1728, allocations: 256 kB / 480.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.1752, allocations: 0.7419 MB / 481.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000621/0.1759, allocations: 0.6685 MB / 481.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002796/0.1787, allocations: 2.068 MB / 483.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006018/0.1847, allocations: 4.631 MB / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1847, allocations: 0 / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1847, allocations: 0 / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.594e-05/0.1848, allocations: 0 / 488.6 MB, free: 13.87 MB / 366.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.02433/0.2092, allocations: 5.975 MB / 494.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.2092, allocations: 19.97 kB / 494.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/0.2118, allocations: 0.5353 MB / 495.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004979/0.2168, allocations: 2.119 MB / 497.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.217, allocations: 201.6 kB / 497.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004002/0.2174, allocations: 268.4 kB / 497.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/0.2225, allocations: 3.18 MB / 0.4891 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.039e-05/0.2226, allocations: 19.81 kB / 0.4891 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.2229, allocations: 128 kB / 0.4893 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/0.223, allocations: 68 kB / 0.4893 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004392/0.2274, allocations: 2.525 MB / 0.4918 GB, free: 14.22 MB / 382.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.2214/0.4488, allocations: 20.55 MB / 0.5119 GB, free: 64.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004951/0.4538, allocations: 2.514 MB / 0.5143 GB, free: 64.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.4551, allocations: 0.9567 MB / 0.5153 GB, free: 64.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.4553, allocations: 37.03 kB / 0.5153 GB, free: 64.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.4553, allocations: 64.8 kB / 0.5154 GB, free: 64.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=252): time 4.759e-06/0.4553, allocations: 0 / 0.5154 GB, free: 64.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.02052/0.4759, allocations: 5.979 MB / 0.5212 GB, free: 63.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.476, allocations: 85.53 kB / 0.5213 GB, free: 63.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004599/0.4806, allocations: 2.938 MB / 0.5241 GB, free: 62.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/0.481, allocations: 77.58 kB / 0.5242 GB, free: 62.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009035/0.4819, allocations: 1.416 MB / 0.5256 GB, free: 61.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.483, allocations: 1.018 MB / 0.5266 GB, free: 60.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/0.4849, allocations: 1.512 MB / 0.5281 GB, free: 59.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.485, allocations: 301.1 kB / 0.5284 GB, free: 59.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.4878, allocations: 2.072 MB / 0.5304 GB, free: 58.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003203/0.491, allocations: 2.754 MB / 0.5331 GB, free: 56.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005047/0.4961, allocations: 3.975 MB / 0.537 GB, free: 54.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.4961, allocations: 3.938 kB / 0.537 GB, free: 54.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.009978/0.5061, allocations: 6.982 MB / 0.5438 GB, free: 47.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.5062, allocations: 8 kB / 0.5438 GB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.5062, allocations: 7.938 kB / 0.5438 GB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.5085, allocations: 0.9397 MB / 0.5447 GB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006033/0.5146, allocations: 1.658 MB / 0.5463 GB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009045/0.5236, allocations: 7.005 MB / 0.5532 GB, free: 37.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006488/0.5302, allocations: 0.5497 MB / 0.5537 GB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008317/0.531, allocations: 264 kB / 0.554 GB, free: 36.92 MB / 382.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.001536/0.5326, allocations: 0.6691 MB / 0.5546 GB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007967/0.5334, allocations: 343.9 kB / 0.5549 GB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.5378, allocations: 2.687 MB / 0.5576 GB, free: 33.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5379, allocations: 24 kB / 0.5576 GB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5379, allocations: 4 kB / 0.5576 GB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5379, allocations: 15.95 kB / 0.5576 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.5457, allocations: 5.538 MB / 0.563 GB, free: 27.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.5457, allocations: 4.062 kB / 0.563 GB, free: 27.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.5471, allocations: 371.6 kB / 0.5634 GB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/0.5492, allocations: 0.7538 MB / 0.5641 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.5493, allocations: 44 kB / 0.5641 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00812/0.5574, allocations: 6.796 MB / 0.5708 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5575, allocations: 0 / 0.5708 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.5629, allocations: 2.751 MB / 0.5735 GB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/0.5646, allocations: 0.7074 MB / 0.5742 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005199/0.5651, allocations: 43.94 kB / 0.5742 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/0.5674, allocations: 107.8 kB / 0.5743 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.5677, allocations: 153.8 kB / 0.5745 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.5679, allocations: 71.98 kB / 0.5745 GB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00205/0.5699, allocations: 1.774 MB / 0.5763 GB, free: 13.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5699, allocations: 0 / 0.5763 GB, free: 13.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003227/0.5732, allocations: 1.605 MB / 0.5778 GB, free: 12.19 MB / 382.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.0004739/0.5736, allocations: 295.2 kB / 0.5781 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.5842, allocations: 5.172 MB / 0.5832 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.5843, allocations: 0 / 0.5832 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002287/0.5866, allocations: 1.557 MB / 0.5847 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.5891, allocations: 262.4 kB / 0.5849 GB, free: 4.887 MB / 382.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.5954, allocations: 4.668 MB / 0.5895 GB, free: 212 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.597, allocations: 1.73 MB / 0.5912 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.5982, allocations: 283.3 kB / 0.5914 GB, free: 14.17 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5982, allocations: 2.516 kB / 0.5914 GB, free: 14.17 MB / 398.1 MB Notification: Performance of Templates: time 0.1013/0.6995, allocations: 69.55 MB / 0.6594 GB, free: 8.504 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)