Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002202/0.002207, allocations: 188 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 94.8 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2583/0.2583, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004651, allocations: 15.98 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 56.33 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.0101/0.125, allocations: 6.477 MB / 485.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008389/0.1334, allocations: 4.027 MB / 489.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.134, allocations: 15.94 kB / 489.5 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.1347, allocations: 151.1 kB / 489.7 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.139, allocations: 0.6346 MB / 490.3 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.1407, allocations: 239.3 kB / 490.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.1425, allocations: 0.5808 MB / 491.1 MB, free: 5.883 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004668/0.1472, allocations: 1.184 MB / 492.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.1488, allocations: 378.6 kB / 492.7 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1499, allocations: 346.9 kB / 493 MB, free: 3.969 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1501, allocations: 32 kB / 493.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.1537, allocations: 0.6977 MB / 493.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008657/0.1547, allocations: 391.2 kB / 494.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.1551, allocations: 177.3 kB / 494.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.1584, allocations: 1.025 MB / 495.3 MB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1584, allocations: 0 / 495.3 MB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1584, allocations: 0 / 495.3 MB, free: 1.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1585, allocations: 0 / 495.3 MB, free: 1.648 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003196/0.1617, allocations: 0.9874 MB / 496.3 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.551e-05/0.1618, allocations: 8.031 kB / 496.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008825/0.1706, allocations: 438.4 kB / 496.8 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.1726, allocations: 469.6 kB / 497.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1727, allocations: 57.97 kB / 497.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.1731, allocations: 75.89 kB / 497.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/0.1779, allocations: 1.16 MB / 498.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/0.178, allocations: 3.938 kB / 498.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.1783, allocations: 39.94 kB / 498.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000258/0.1786, allocations: 73.95 kB / 498.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00534/0.1839, allocations: 1.233 MB / 499.9 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.1943, allocations: 3.523 MB / 0.4916 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.1973, allocations: 1.061 MB / 0.4926 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.1974, allocations: 28.97 kB / 0.4927 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.1974, allocations: 43.56 kB / 0.4927 GB, free: 8.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 3.888e-06/0.1975, allocations: 0 / 0.4927 GB, free: 8.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.01142/0.2089, allocations: 3.072 MB / 0.4957 GB, free: 5.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.209, allocations: 86.11 kB / 0.4958 GB, free: 5.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.2096, allocations: 357.7 kB / 0.4961 GB, free: 4.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.2098, allocations: 37.7 kB / 0.4962 GB, free: 4.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.2101, allocations: 366.5 kB / 0.4965 GB, free: 4.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.2105, allocations: 311.4 kB / 0.4968 GB, free: 3.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.2106, allocations: 16 kB / 0.4968 GB, free: 3.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2108, allocations: 346.8 kB / 0.4972 GB, free: 3.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.212, allocations: 469.8 kB / 0.4976 GB, free: 3.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.2133, allocations: 0.5579 MB / 0.4981 GB, free: 2.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.2148, allocations: 0.5456 MB / 0.4987 GB, free: 2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.79e-06/0.2148, allocations: 0 / 0.4987 GB, free: 2 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004277/0.2191, allocations: 1.45 MB / 0.5001 GB, free: 0.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.2191, allocations: 4 kB / 0.5001 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.2192, allocations: 4 kB / 0.5001 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.2208, allocations: 341.7 kB / 0.5004 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.2223, allocations: 183.7 kB / 0.5006 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008971/0.2313, allocations: 3.958 MB / 0.5045 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/0.2323, allocations: 47.95 kB / 0.5045 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.2325, allocations: 31.98 kB / 0.5045 GB, free: 11.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006504/0.2331, allocations: 297.5 kB / 0.5048 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.2333, allocations: 55.34 kB / 0.5049 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/0.2379, allocations: 1.555 MB / 0.5064 GB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.2379, allocations: 19.89 kB / 0.5064 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.238, allocations: 4 kB / 0.5064 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.238, allocations: 3.984 kB / 0.5064 GB, free: 9.867 MB / 362.7 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 postOpt removeSimpleEquations (simulation): time 0.008519/0.2465, allocations: 3.025 MB / 0.5094 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.2466, allocations: 8.094 kB / 0.5094 GB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.2479, allocations: 163.7 kB / 0.5095 GB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.2493, allocations: 288.5 kB / 0.5098 GB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.2495, allocations: 27.98 kB / 0.5098 GB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008119/0.2576, allocations: 3.704 MB / 0.5135 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.2576, allocations: 7.938 kB / 0.5135 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.262, allocations: 1.758 MB / 0.5152 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.2623, allocations: 148.3 kB / 0.5153 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.2625, allocations: 24 kB / 0.5153 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.2633, allocations: 43.91 kB / 0.5154 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.2636, allocations: 76.83 kB / 0.5155 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.2637, allocations: 39.98 kB / 0.5155 GB, free: 124 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.3039/0.5676, allocations: 252.2 kB / 0.5157 GB, free: 51.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.5677, allocations: 0 / 0.5157 GB, free: 51.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001668/0.5693, allocations: 305 kB / 0.516 GB, free: 51.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002401/0.5696, allocations: 127 kB / 0.5162 GB, free: 51.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003875/0.5735, allocations: 1.387 MB / 0.5175 GB, free: 51.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5735, allocations: 1.094 kB / 0.5175 GB, free: 51.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.5757, allocations: 0.8403 MB / 0.5183 GB, free: 51.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.5766, allocations: 85.45 kB / 0.5184 GB, free: 51.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.5811, allocations: 2.158 MB / 0.5205 GB, free: 50.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009636/0.5821, allocations: 1.094 MB / 0.5216 GB, free: 49.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.5827, allocations: 72.45 kB / 0.5217 GB, free: 49.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5827, allocations: 0 / 0.5217 GB, free: 49.41 MB / 362.7 MB Notification: Performance of Templates: time 0.02855/0.6112, allocations: 11.77 MB / 0.5332 GB, free: 45.88 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)