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.004758/0.004758, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001198/0.001198, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07251/0.07251, allocations: 16.78 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 426.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.09037, allocations: 53.57 MB / 480.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.009599/0.1, allocations: 10.38 MB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005016/0.1051, allocations: 3.511 MB / 494 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008758/0.106, allocations: 23.88 kB / 494.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.1072, allocations: 413.5 kB / 494.5 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.1109, allocations: 1.707 MB / 496.2 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1123, allocations: 0.6521 MB / 496.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.1146, allocations: 2.042 MB / 498.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.1149, allocations: 138.8 kB / 499 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008365/0.1157, allocations: 0.6886 MB / 499.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.1165, allocations: 0.7469 MB / 0.4887 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1166, allocations: 83.94 kB / 0.4888 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007151/0.1173, allocations: 403.7 kB / 0.4892 GB, free: 108 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1175, allocations: 211.1 kB / 0.4894 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005384/0.118, allocations: 0.6568 MB / 0.49 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.1195, allocations: 1.608 MB / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1195, allocations: 3.984 kB / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1195, allocations: 0 / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1196, allocations: 0 / 0.4916 GB, free: 13.62 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.005752/0.1253, allocations: 2.12 MB / 0.4937 GB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1254, allocations: 8.031 kB / 0.4937 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.126, allocations: 175.4 kB / 0.4938 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.1271, allocations: 0.8134 MB / 0.4946 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.1272, allocations: 66.38 kB / 0.4947 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/0.1273, allocations: 84.38 kB / 0.4948 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.1285, allocations: 1.018 MB / 0.4958 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.1286, allocations: 7.938 kB / 0.4958 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.1287, allocations: 40 kB / 0.4958 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1287, allocations: 20 kB / 0.4958 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.1298, allocations: 0.7999 MB / 0.4966 GB, free: 8.25 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.006421/0.1362, allocations: 6.575 MB / 0.503 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.1376, allocations: 0.7405 MB / 0.5038 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.138, allocations: 285.5 kB / 0.504 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.1381, allocations: 8.656 kB / 0.504 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1381, allocations: 51.16 kB / 0.5041 GB, free: 248 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.375e-06/0.1381, allocations: 0 / 0.5041 GB, free: 248 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.1749/0.313, allocations: 1.232 MB / 0.5053 GB, free: 34.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3131, allocations: 59.47 kB / 0.5053 GB, free: 34.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.3145, allocations: 0.9978 MB / 0.5063 GB, free: 34.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.3146, allocations: 41.77 kB / 0.5064 GB, free: 34.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.315, allocations: 0.5001 MB / 0.5068 GB, free: 33.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.3152, allocations: 313.4 kB / 0.5071 GB, free: 33.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006823/0.3159, allocations: 485.6 kB / 0.5076 GB, free: 33.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.316, allocations: 338.8 kB / 0.5079 GB, free: 33.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.317, allocations: 0.6469 MB / 0.5086 GB, free: 33.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3182, allocations: 0.8485 MB / 0.5094 GB, free: 32.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.3197, allocations: 1.237 MB / 0.5106 GB, free: 32.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3197, allocations: 0 / 0.5106 GB, free: 32.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003192/0.3229, allocations: 2.135 MB / 0.5127 GB, free: 31.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.323, allocations: 5.391 kB / 0.5127 GB, free: 31.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.323, allocations: 2.5 kB / 0.5127 GB, free: 31.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.3236, allocations: 168.3 kB / 0.5128 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.3254, allocations: 0.516 MB / 0.5134 GB, free: 31.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.3282, allocations: 2.627 MB / 0.5159 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.3297, allocations: 170.9 kB / 0.5161 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.3298, allocations: 79.14 kB / 0.5162 GB, free: 28.93 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.000348/0.3302, allocations: 292.2 kB / 0.5164 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.3303, allocations: 108.7 kB / 0.5165 GB, free: 28.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3316, allocations: 0.7731 MB / 0.5173 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3316, allocations: 10.62 kB / 0.5173 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.3317, allocations: 0 / 0.5173 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3317, allocations: 3.984 kB / 0.5173 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.3339, allocations: 1.816 MB / 0.5191 GB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3339, allocations: 1.219 kB / 0.5191 GB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.3344, allocations: 117.3 kB / 0.5192 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.3349, allocations: 158.2 kB / 0.5193 GB, free: 27.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.335, allocations: 15.39 kB / 0.5194 GB, free: 27.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.3373, allocations: 2.573 MB / 0.5219 GB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3373, allocations: 9.531 kB / 0.5219 GB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3385, allocations: 0.8631 MB / 0.5227 GB, free: 24.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.3389, allocations: 271.6 kB / 0.523 GB, free: 24.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.339, allocations: 16.28 kB / 0.523 GB, free: 24.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.3397, allocations: 32.73 kB / 0.523 GB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.3398, allocations: 49.55 kB / 0.5231 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.3398, allocations: 25.95 kB / 0.5231 GB, free: 24.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000763/0.3406, allocations: 0.6284 MB / 0.5237 GB, free: 24.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3406, allocations: 3.75 kB / 0.5237 GB, free: 24.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001146/0.3418, allocations: 0.492 MB / 0.5242 GB, free: 24.13 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.0002122/0.342, allocations: 172.8 kB / 0.5244 GB, free: 24.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.3441, allocations: 1.568 MB / 0.5259 GB, free: 23.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3441, allocations: 1.094 kB / 0.5259 GB, free: 23.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.3447, allocations: 478.5 kB / 0.5264 GB, free: 23.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.3453, allocations: 96.94 kB / 0.5264 GB, free: 23.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.347, allocations: 1.489 MB / 0.5279 GB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.3474, allocations: 0.9981 MB / 0.5289 GB, free: 21.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.3479, allocations: 182.4 kB / 0.529 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3481, allocations: 80.94 kB / 0.5291 GB, free: 21.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3481, allocations: 4 kB / 0.5291 GB, free: 21.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01706/0.3652, allocations: 14.8 MB / 0.5436 GB, free: 10.16 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)