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.00519/0.00519, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.00117/0.00117, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0731/0.0731, allocations: 16.79 MB / 307.3 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 59.91 kB / 426.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08127, allocations: 53.56 MB / 480.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.009174/0.09047, allocations: 10.38 MB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.09528, allocations: 3.515 MB / 494 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.096, allocations: 23.88 kB / 494.1 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009096/0.09694, allocations: 421.5 kB / 494.5 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.1001, allocations: 1.696 MB / 496.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1013, allocations: 0.6558 MB / 496.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.1032, allocations: 2.038 MB / 498.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.1034, allocations: 146.7 kB / 499 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006726/0.1041, allocations: 0.6925 MB / 499.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.1048, allocations: 0.743 MB / 0.4887 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.105, allocations: 76 kB / 0.4888 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000707/0.1057, allocations: 403.7 kB / 0.4892 GB, free: 132 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1058, allocations: 215.1 kB / 0.4894 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.1064, allocations: 0.6451 MB / 0.49 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1078, allocations: 1.62 MB / 0.4916 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1078, allocations: 0 / 0.4916 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1078, allocations: 0 / 0.4916 GB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1079, allocations: 0 / 0.4916 GB, free: 13.64 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.005763/0.1136, allocations: 2.12 MB / 0.4936 GB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1137, allocations: 15.97 kB / 0.4937 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005953/0.1143, allocations: 179.4 kB / 0.4938 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1155, allocations: 0.7979 MB / 0.4946 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.1155, allocations: 66.38 kB / 0.4947 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.1156, allocations: 88.31 kB / 0.4948 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.1168, allocations: 1.018 MB / 0.4958 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1169, allocations: 7.938 kB / 0.4958 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.1169, allocations: 40 kB / 0.4958 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.117, allocations: 24 kB / 0.4958 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1181, allocations: 0.7959 MB / 0.4966 GB, free: 8.273 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.006312/0.1244, allocations: 6.583 MB / 0.503 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.1258, allocations: 0.7327 MB / 0.5037 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.1262, allocations: 281.9 kB / 0.504 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.1262, allocations: 12.64 kB / 0.504 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1263, allocations: 47.22 kB / 0.5041 GB, free: 276 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.585e-06/0.1263, allocations: 3.938 kB / 0.5041 GB, free: 272 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.1717/0.298, allocations: 1.234 MB / 0.5053 GB, free: 34.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.298, allocations: 60.78 kB / 0.5053 GB, free: 34.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.2992, allocations: 0.9977 MB / 0.5063 GB, free: 33.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.2993, allocations: 42.33 kB / 0.5064 GB, free: 33.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.2996, allocations: 0.506 MB / 0.5068 GB, free: 33.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.2998, allocations: 309 kB / 0.5071 GB, free: 33.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005564/0.3003, allocations: 487.6 kB / 0.5076 GB, free: 33.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.3004, allocations: 339.6 kB / 0.5079 GB, free: 33.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009089/0.3013, allocations: 0.6475 MB / 0.5086 GB, free: 33.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.3024, allocations: 0.8511 MB / 0.5094 GB, free: 32.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.3038, allocations: 1.229 MB / 0.5106 GB, free: 31.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3038, allocations: 0 / 0.5106 GB, free: 31.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.002925/0.3067, allocations: 2.134 MB / 0.5127 GB, free: 31.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3068, allocations: 6.594 kB / 0.5127 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3068, allocations: 2.344 kB / 0.5127 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/0.3074, allocations: 173.3 kB / 0.5129 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.3093, allocations: 0.5175 MB / 0.5134 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.312, allocations: 2.618 MB / 0.5159 GB, free: 28.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.3134, allocations: 166.4 kB / 0.5161 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.3136, allocations: 79 kB / 0.5161 GB, free: 28.76 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.0003166/0.3139, allocations: 292.5 kB / 0.5164 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.314, allocations: 110 kB / 0.5165 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.3154, allocations: 0.7833 MB / 0.5173 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3154, allocations: 6.781 kB / 0.5173 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3154, allocations: 4.312 kB / 0.5173 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3154, allocations: 4.062 kB / 0.5173 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.3176, allocations: 1.807 MB / 0.5191 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3176, allocations: 0 / 0.5191 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.3181, allocations: 127.3 kB / 0.5192 GB, free: 27.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/0.3186, allocations: 151.5 kB / 0.5193 GB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.3187, allocations: 12.78 kB / 0.5194 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.3209, allocations: 2.577 MB / 0.5219 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3209, allocations: 9.031 kB / 0.5219 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.3222, allocations: 0.86 MB / 0.5227 GB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.3225, allocations: 275.7 kB / 0.523 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3226, allocations: 12 kB / 0.523 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/0.3233, allocations: 37.27 kB / 0.523 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.3234, allocations: 41.62 kB / 0.5231 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.3235, allocations: 25.56 kB / 0.5231 GB, free: 24.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007574/0.3242, allocations: 0.6278 MB / 0.5237 GB, free: 24.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3242, allocations: 7.109 kB / 0.5237 GB, free: 24.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001239/0.3255, allocations: 0.4961 MB / 0.5242 GB, free: 23.96 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.000211/0.3257, allocations: 171.3 kB / 0.5244 GB, free: 23.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.3277, allocations: 1.572 MB / 0.5259 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3278, allocations: 0 / 0.5259 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.3283, allocations: 472.7 kB / 0.5263 GB, free: 22.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.329, allocations: 95.16 kB / 0.5264 GB, free: 22.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3308, allocations: 1.502 MB / 0.5279 GB, free: 22.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.3312, allocations: 1.003 MB / 0.5289 GB, free: 21.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.3317, allocations: 178 kB / 0.5291 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3319, allocations: 82.31 kB / 0.5291 GB, free: 21.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3319, allocations: 0 / 0.5291 GB, free: 21.31 MB / 382.1 MB Notification: Performance of Templates: time 0.01722/0.3491, allocations: 14.81 MB / 0.5436 GB, free: 9.84 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)