Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.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.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 115.9 kB / 16.4 MB, free: 6.383 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.001419/0.001419, allocations: 194.6 kB / 17.33 MB, free: 5.844 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08253/0.08253, allocations: 16.77 MB / 308 MB, free: 14.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 427.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1327, allocations: 53.55 MB / 480.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.01204/0.1448, allocations: 10.4 MB / 491.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007116/0.152, allocations: 3.507 MB / 494.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.1535, allocations: 15.94 kB / 494.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.1553, allocations: 425.4 kB / 495.1 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.1607, allocations: 1.698 MB / 496.8 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.1625, allocations: 0.6597 MB / 497.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003661/0.1661, allocations: 2.038 MB / 499.5 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.1666, allocations: 138.8 kB / 499.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.1681, allocations: 0.6924 MB / 0.4886 GB, free: 1.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.1696, allocations: 0.7352 MB / 0.4893 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003763/0.17, allocations: 80 kB / 0.4894 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.1717, allocations: 403.7 kB / 0.4898 GB, free: 168 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.1721, allocations: 222.9 kB / 0.49 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.1735, allocations: 0.649 MB / 0.4907 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003893/0.1774, allocations: 1.615 MB / 0.4922 GB, free: 13.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.1774, allocations: 4 kB / 0.4922 GB, free: 13.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1774, allocations: 4 kB / 0.4922 GB, free: 13.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.439e-05/0.1775, allocations: 0 / 0.4922 GB, free: 13.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.01112/0.1886, allocations: 2.158 MB / 0.4943 GB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1887, allocations: 8.031 kB / 0.4944 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/0.1897, allocations: 184 kB / 0.4945 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.1918, allocations: 0.8181 MB / 0.4953 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.1919, allocations: 62.38 kB / 0.4954 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.1921, allocations: 92.36 kB / 0.4955 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.1939, allocations: 1.018 MB / 0.4965 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.194, allocations: 7.938 kB / 0.4965 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/0.1941, allocations: 40 kB / 0.4965 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.1941, allocations: 24 kB / 0.4965 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.1955, allocations: 0.7998 MB / 0.4973 GB, free: 8.234 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.009232/0.2047, allocations: 6.572 MB / 0.5037 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.2063, allocations: 0.7358 MB / 0.5045 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.2068, allocations: 285.9 kB / 0.5047 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.06e-05/0.2069, allocations: 16.7 kB / 0.5047 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.2069, allocations: 43.22 kB / 0.5048 GB, free: 240 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 3.617e-06/0.207, allocations: 0 / 0.5048 GB, free: 240 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.3116/0.5185, allocations: 1.243 MB / 0.506 GB, free: 34.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.5186, allocations: 60.36 kB / 0.5061 GB, free: 34.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.5202, allocations: 1.001 MB / 0.507 GB, free: 34.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.5203, allocations: 40.64 kB / 0.5071 GB, free: 34.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.5207, allocations: 0.5188 MB / 0.5076 GB, free: 33.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/0.521, allocations: 319.8 kB / 0.5079 GB, free: 33.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007019/0.5217, allocations: 489.2 kB / 0.5083 GB, free: 33.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.5218, allocations: 336.8 kB / 0.5087 GB, free: 33.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.5229, allocations: 0.6479 MB / 0.5093 GB, free: 33.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.5241, allocations: 0.8476 MB / 0.5101 GB, free: 32.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.5259, allocations: 1.231 MB / 0.5113 GB, free: 32.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.526, allocations: 4.969 kB / 0.5113 GB, free: 32.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003717/0.5297, allocations: 2.137 MB / 0.5134 GB, free: 31.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5297, allocations: 7.844 kB / 0.5134 GB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.5297, allocations: 2.031 kB / 0.5134 GB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.5304, allocations: 175.4 kB / 0.5136 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.5326, allocations: 0.5181 MB / 0.5141 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.5361, allocations: 2.624 MB / 0.5167 GB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.538, allocations: 175.3 kB / 0.5168 GB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.5381, allocations: 78.12 kB / 0.5169 GB, free: 28.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004853/0.5386, allocations: 293.7 kB / 0.5172 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.5388, allocations: 112.6 kB / 0.5173 GB, free: 28.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.5403, allocations: 0.781 MB / 0.5181 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.5404, allocations: 7.656 kB / 0.5181 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5404, allocations: 3.984 kB / 0.5181 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5404, allocations: 3.562 kB / 0.5181 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.5432, allocations: 1.812 MB / 0.5198 GB, free: 27.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5432, allocations: 1.312 kB / 0.5198 GB, free: 27.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.5438, allocations: 121.5 kB / 0.52 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005555/0.5443, allocations: 154.5 kB / 0.5201 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.5444, allocations: 13.47 kB / 0.5201 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/0.5471, allocations: 2.576 MB / 0.5226 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5471, allocations: 9.031 kB / 0.5226 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.5487, allocations: 0.8642 MB / 0.5235 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.5491, allocations: 282.5 kB / 0.5238 GB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.5493, allocations: 12.52 kB / 0.5238 GB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.55, allocations: 36.69 kB / 0.5238 GB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.5501, allocations: 42.16 kB / 0.5238 GB, free: 24.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.5502, allocations: 28.03 kB / 0.5239 GB, free: 24.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009726/0.5512, allocations: 0.6278 MB / 0.5245 GB, free: 24.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5512, allocations: 7.625 kB / 0.5245 GB, free: 24.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002018/0.5532, allocations: 0.4923 MB / 0.525 GB, free: 24.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003395/0.5535, allocations: 184.9 kB / 0.5252 GB, free: 23.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.5563, allocations: 1.561 MB / 0.5267 GB, free: 23.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5563, allocations: 0 / 0.5267 GB, free: 23.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.5571, allocations: 484.2 kB / 0.5271 GB, free: 22.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.5578, allocations: 94.02 kB / 0.5272 GB, free: 22.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.5601, allocations: 1.554 MB / 0.5287 GB, free: 22.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.5607, allocations: 1.001 MB / 0.5297 GB, free: 21.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.561, allocations: 90.42 kB / 0.5298 GB, free: 21.33 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.561, allocations: 0 / 0.5298 GB, free: 21.33 MB / 382.1 MB Notification: Performance of Templates: time 0.02324/0.5843, allocations: 18.78 MB / 0.5481 GB, free: 5.938 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)