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.00102/0.00102, allocations: 173.3 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008483/0.0008484, allocations: 102.2 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1668/0.1668, allocations: 38.07 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1121, allocations: 56.33 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006999/0.1192, allocations: 6.76 MB / 485.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005348/0.1246, allocations: 4.163 MB / 490 MB, free: 7.078 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.1251, allocations: 19.88 kB / 490 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.1256, allocations: 139 kB / 490.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.1281, allocations: 0.8873 MB / 491 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007808/0.1289, allocations: 231.4 kB / 491.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.1311, allocations: 1.913 MB / 493.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.1335, allocations: 1.166 MB / 494.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.1348, allocations: 493.7 kB / 494.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.1361, allocations: 0.662 MB / 495.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.1363, allocations: 32 kB / 495.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.1382, allocations: 0.7402 MB / 496.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006677/0.1389, allocations: 450.9 kB / 496.7 MB, free: 344 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.1393, allocations: 169.3 kB / 496.9 MB, free: 168 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.1412, allocations: 1.033 MB / 497.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1412, allocations: 4 kB / 497.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1412, allocations: 0 / 497.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.523e-05/0.1413, allocations: 0 / 497.9 MB, free: 15.12 MB / 346.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.001888/0.1431, allocations: 0.9874 MB / 498.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1432, allocations: 8.031 kB / 498.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/0.1463, allocations: 398.4 kB / 499.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.1472, allocations: 461.6 kB / 499.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.1472, allocations: 53.98 kB / 499.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.1475, allocations: 75.89 kB / 499.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.1495, allocations: 1.168 MB / 0.4893 GB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.1496, allocations: 7.984 kB / 0.4893 GB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/0.1497, allocations: 31.94 kB / 0.4893 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.597e-05/0.1498, allocations: 69.97 kB / 0.4894 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.1517, allocations: 1.237 MB / 0.4906 GB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00564/0.1573, allocations: 3.531 MB / 0.494 GB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.159, allocations: 1.065 MB / 0.4951 GB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009009/0.1599, allocations: 0.6567 MB / 0.4957 GB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.418e-05/0.16, allocations: 16.97 kB / 0.4957 GB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.16, allocations: 43.56 kB / 0.4958 GB, free: 5.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 3.586e-06/0.16, allocations: 4 kB / 0.4958 GB, free: 5.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.006723/0.1668, allocations: 3.071 MB / 0.4988 GB, free: 1.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.1669, allocations: 86.11 kB / 0.4989 GB, free: 1.883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.1674, allocations: 361.7 kB / 0.4992 GB, free: 1.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.1674, allocations: 41.7 kB / 0.4992 GB, free: 1.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1677, allocations: 312.1 kB / 0.4995 GB, free: 1.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.168, allocations: 311.4 kB / 0.4998 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.168, allocations: 16 kB / 0.4999 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1682, allocations: 370.8 kB / 0.5002 GB, free: 480 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.1689, allocations: 461.7 kB / 0.5007 GB, free: 16 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008016/0.1697, allocations: 0.5734 MB / 0.5012 GB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.1705, allocations: 0.534 MB / 0.5017 GB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1705, allocations: 0 / 0.5017 GB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00252/0.1731, allocations: 1.477 MB / 0.5032 GB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1731, allocations: 4 kB / 0.5032 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1731, allocations: 4 kB / 0.5032 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009618/0.1741, allocations: 337.7 kB / 0.5035 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.1748, allocations: 179.7 kB / 0.5037 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005779/0.1806, allocations: 3.86 MB / 0.5074 GB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/0.1813, allocations: 47.95 kB / 0.5075 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.1814, allocations: 40.03 kB / 0.5075 GB, free: 8.773 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.0005048/0.1819, allocations: 293.5 kB / 0.5078 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1821, allocations: 59.25 kB / 0.5079 GB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.1849, allocations: 1.567 MB / 0.5094 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.1849, allocations: 15.94 kB / 0.5094 GB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.185, allocations: 4 kB / 0.5094 GB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.185, allocations: 11.91 kB / 0.5094 GB, free: 6.801 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.005228/0.1902, allocations: 3.02 MB / 0.5124 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.1902, allocations: 4 kB / 0.5124 GB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.1909, allocations: 163.8 kB / 0.5125 GB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008542/0.1918, allocations: 289 kB / 0.5128 GB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.1918, allocations: 23.98 kB / 0.5128 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2208/0.4127, allocations: 3.607 MB / 0.5164 GB, free: 50.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.4127, allocations: 6.562 kB / 0.5164 GB, free: 50.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.4156, allocations: 1.581 MB / 0.5179 GB, free: 50.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.4158, allocations: 147 kB / 0.518 GB, free: 50.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.4159, allocations: 22.11 kB / 0.5181 GB, free: 50.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.4163, allocations: 45.53 kB / 0.5181 GB, free: 50.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.4165, allocations: 77.83 kB / 0.5182 GB, free: 50.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.4166, allocations: 36.73 kB / 0.5182 GB, free: 50.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003114/0.4169, allocations: 255.8 kB / 0.5185 GB, free: 50.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4169, allocations: 0 / 0.5185 GB, free: 50.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009734/0.4179, allocations: 308.6 kB / 0.5188 GB, free: 50.35 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.0001736/0.4181, allocations: 127.9 kB / 0.5189 GB, free: 50.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.4203, allocations: 1.385 MB / 0.5202 GB, free: 49.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4203, allocations: 0 / 0.5202 GB, free: 49.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.4215, allocations: 0.8423 MB / 0.5211 GB, free: 49.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.4222, allocations: 105.5 kB / 0.5212 GB, free: 49.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.4252, allocations: 2.166 MB / 0.5233 GB, free: 48.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007509/0.426, allocations: 1.071 MB / 0.5243 GB, free: 47.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.4262, allocations: 71.77 kB / 0.5244 GB, free: 47.62 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.4263, allocations: 1.156 kB / 0.5244 GB, free: 47.62 MB / 362.7 MB Notification: Performance of Templates: time 0.01667/0.4429, allocations: 12.13 MB / 0.5362 GB, free: 43.41 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)