Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001581, allocations: 190.7 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.073/2.073, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001167/0.001167, allocations: 102.8 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2788/0.2788, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004667, allocations: 16 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 56.33 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01042/0.1214, allocations: 6.485 MB / 485.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008928/0.1304, allocations: 4.031 MB / 489.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000683/0.1312, allocations: 19.88 kB / 489.6 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.1318, allocations: 147.2 kB / 489.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.1349, allocations: 0.6307 MB / 490.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1362, allocations: 239.4 kB / 490.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.1377, allocations: 0.5808 MB / 491.2 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003415/0.1412, allocations: 1.173 MB / 492.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.1424, allocations: 382.6 kB / 492.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007692/0.1432, allocations: 346.9 kB / 493 MB, free: 3.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1433, allocations: 32 kB / 493.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.1459, allocations: 0.6978 MB / 493.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.1467, allocations: 391.2 kB / 494.2 MB, free: 2.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.147, allocations: 173.2 kB / 494.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.1498, allocations: 1.037 MB / 495.4 MB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1498, allocations: 0 / 495.4 MB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1499, allocations: 0 / 495.4 MB, free: 1.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.1499, allocations: 0 / 495.4 MB, free: 1.637 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.002484/0.1524, allocations: 0.9835 MB / 496.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1524, allocations: 12.03 kB / 496.4 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005291/0.1577, allocations: 434.4 kB / 496.8 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.1592, allocations: 465.6 kB / 497.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.1593, allocations: 53.98 kB / 497.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.1595, allocations: 75.89 kB / 497.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.1628, allocations: 1.168 MB / 498.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/0.1629, allocations: 0 / 498.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.1631, allocations: 31.95 kB / 498.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.1632, allocations: 69.95 kB / 498.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.1669, allocations: 1.245 MB / 499.9 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.1774, allocations: 3.519 MB / 0.4916 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.1805, allocations: 1.065 MB / 0.4926 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.1806, allocations: 20.98 kB / 0.4927 GB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.1807, allocations: 43.56 kB / 0.4927 GB, free: 8.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 4.208e-06/0.1807, allocations: 0 / 0.4927 GB, free: 8.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.01208/0.1928, allocations: 3.072 MB / 0.4957 GB, free: 5.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.193, allocations: 86.11 kB / 0.4958 GB, free: 5.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.1936, allocations: 361.7 kB / 0.4961 GB, free: 4.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.1938, allocations: 41.7 kB / 0.4962 GB, free: 4.621 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.1941, allocations: 358.5 kB / 0.4965 GB, free: 4.266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004987/0.1946, allocations: 315.4 kB / 0.4968 GB, free: 3.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.1947, allocations: 16 kB / 0.4968 GB, free: 3.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1949, allocations: 346.8 kB / 0.4972 GB, free: 3.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.1962, allocations: 465.7 kB / 0.4976 GB, free: 3.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.1976, allocations: 0.5656 MB / 0.4981 GB, free: 2.543 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.1991, allocations: 0.5418 MB / 0.4987 GB, free: 2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1992, allocations: 0 / 0.4987 GB, free: 2 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004495/0.2037, allocations: 1.454 MB / 0.5001 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.2038, allocations: 8 kB / 0.5001 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2038, allocations: 0 / 0.5001 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.2055, allocations: 333.7 kB / 0.5004 GB, free: 208 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.2071, allocations: 187.7 kB / 0.5006 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009493/0.2166, allocations: 3.962 MB / 0.5045 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2177, allocations: 43.95 kB / 0.5045 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.2179, allocations: 40.05 kB / 0.5046 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.0006863/0.2186, allocations: 301.5 kB / 0.5048 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.2188, allocations: 55.34 kB / 0.5049 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/0.2235, allocations: 1.555 MB / 0.5064 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.2236, allocations: 15.95 kB / 0.5064 GB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2236, allocations: 4 kB / 0.5064 GB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.2236, allocations: 3.984 kB / 0.5064 GB, free: 9.859 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.00939/0.233, allocations: 3.028 MB / 0.5094 GB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.2331, allocations: 4 kB / 0.5094 GB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.2345, allocations: 167.7 kB / 0.5096 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.2361, allocations: 285 kB / 0.5098 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.2363, allocations: 27.98 kB / 0.5099 GB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008609/0.245, allocations: 3.696 MB / 0.5135 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.245, allocations: 11.92 kB / 0.5135 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004588/0.2496, allocations: 1.758 MB / 0.5152 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.25, allocations: 140.3 kB / 0.5153 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.2502, allocations: 23.98 kB / 0.5153 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008025/0.251, allocations: 43.92 kB / 0.5154 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.2513, allocations: 80.83 kB / 0.5155 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.2514, allocations: 39.98 kB / 0.5155 GB, free: 124 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.306/0.5575, allocations: 249 kB / 0.5157 GB, free: 51.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.5575, allocations: 0 / 0.5157 GB, free: 51.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00164/0.5592, allocations: 305.8 kB / 0.516 GB, free: 51.68 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.0002262/0.5594, allocations: 124.8 kB / 0.5162 GB, free: 51.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.5633, allocations: 1.386 MB / 0.5175 GB, free: 51.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.5633, allocations: 1.062 kB / 0.5175 GB, free: 51.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.5654, allocations: 0.8441 MB / 0.5183 GB, free: 51.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007916/0.5663, allocations: 91.44 kB / 0.5184 GB, free: 51.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.5708, allocations: 2.161 MB / 0.5205 GB, free: 50.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009263/0.5718, allocations: 1.092 MB / 0.5216 GB, free: 49.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/0.5723, allocations: 71.97 kB / 0.5217 GB, free: 49.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5723, allocations: 0 / 0.5217 GB, free: 49.46 MB / 362.7 MB Notification: Performance of Templates: time 0.02757/0.5999, allocations: 11.78 MB / 0.5332 GB, free: 45.89 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)