Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 108.5 kB / 16.51 MB, free: 6.707 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.001188/0.001188, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.439/1.439, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1773/0.1773, allocations: 38.03 MB / 329.3 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.67 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1392, allocations: 58.05 MB / 456.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008623/0.1479, allocations: 7.634 MB / 463.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006069/0.154, allocations: 4.557 MB / 468.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004652/0.1545, allocations: 15.94 kB / 468.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.1569, allocations: 0.9779 MB / 469.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.1601, allocations: 1.211 MB / 470.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1612, allocations: 307.3 kB / 470.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.1644, allocations: 2.58 MB / 473.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.1659, allocations: 0.8215 MB / 474.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1671, allocations: 0.5212 MB / 474.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.1686, allocations: 0.8179 MB / 475.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.1689, allocations: 60 kB / 475.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004455/0.1733, allocations: 1.801 MB / 477.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009373/0.1743, allocations: 0.5962 MB / 478 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.1754, allocations: 0.5326 MB / 478.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004221/0.1796, allocations: 1.955 MB / 480.5 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1796, allocations: 8 kB / 480.5 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1796, allocations: 0 / 480.5 MB, free: 60 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.317e-05/0.1797, allocations: 0 / 480.5 MB, free: 60 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003112/0.1828, allocations: 1.334 MB / 481.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1829, allocations: 8.031 kB / 481.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/0.1872, allocations: 0.538 MB / 482.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.1883, allocations: 0.5559 MB / 483 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.1883, allocations: 70.3 kB / 483 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.1885, allocations: 88.27 kB / 483.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.1914, allocations: 1.509 MB / 484.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.1915, allocations: 0 / 484.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.1916, allocations: 36 kB / 484.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.1917, allocations: 102 kB / 484.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.1946, allocations: 1.546 MB / 486.3 MB, free: 10.14 MB / 366.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.009162/0.2038, allocations: 4.911 MB / 491.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.2059, allocations: 1.196 MB / 492.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.2071, allocations: 0.774 MB / 493.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/0.2072, allocations: 13 kB / 493.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2072, allocations: 43.56 kB / 493.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.945e-06/0.2072, allocations: 0 / 493.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.008254/0.2155, allocations: 3.681 MB / 496.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.2156, allocations: 90.11 kB / 497 MB, free: 15.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.2162, allocations: 469.8 kB / 497.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.2163, allocations: 45.7 kB / 497.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.2166, allocations: 427.4 kB / 497.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.217, allocations: 378.6 kB / 498.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.2174, allocations: 198.8 kB / 498.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.2176, allocations: 382.8 kB / 498.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/0.2185, allocations: 0.5335 MB / 499.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.2195, allocations: 0.7578 MB / 0.4884 GB, free: 11.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.2217, allocations: 1.4 MB / 0.4898 GB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.2217, allocations: 7.938 kB / 0.4898 GB, free: 10.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003387/0.2251, allocations: 1.798 MB / 0.4916 GB, free: 8.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.2252, allocations: 11.94 kB / 0.4916 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.2252, allocations: 4 kB / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.2264, allocations: 413.8 kB / 0.492 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/0.2273, allocations: 235.6 kB / 0.4922 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/0.2344, allocations: 5.594 MB / 0.4977 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.2353, allocations: 67.84 kB / 0.4977 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.2355, allocations: 47.98 kB / 0.4978 GB, free: 1.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007293/0.2362, allocations: 365.5 kB / 0.4981 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.2364, allocations: 75.16 kB / 0.4982 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2629/0.4993, allocations: 1.8 MB / 0.5 GB, free: 55.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.4994, allocations: 13.41 kB / 0.5 GB, free: 55.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.4994, allocations: 5.906 kB / 0.5 GB, free: 55.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.241e-05/0.4995, allocations: 11.33 kB / 0.5 GB, free: 55.44 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 postOpt removeSimpleEquations (simulation): time 0.006612/0.5061, allocations: 3.47 MB / 0.5034 GB, free: 54.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5061, allocations: 4.625 kB / 0.5034 GB, free: 54.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000778/0.5069, allocations: 189 kB / 0.5036 GB, free: 54.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.508, allocations: 350.5 kB / 0.5039 GB, free: 54.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/0.5081, allocations: 24.64 kB / 0.5039 GB, free: 54.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/0.5147, allocations: 5.337 MB / 0.5091 GB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.098e-05/0.5148, allocations: 3.844 kB / 0.5091 GB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/0.5191, allocations: 1.827 MB / 0.5109 GB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.5194, allocations: 152.7 kB / 0.5111 GB, free: 49.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.5195, allocations: 26.22 kB / 0.5111 GB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.5201, allocations: 55.06 kB / 0.5111 GB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.5204, allocations: 95.27 kB / 0.5112 GB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/0.5205, allocations: 38.81 kB / 0.5113 GB, free: 49.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004579/0.5209, allocations: 324.3 kB / 0.5116 GB, free: 49.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5209, allocations: 0 / 0.5116 GB, free: 49.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00205/0.523, allocations: 396.8 kB / 0.512 GB, free: 49.64 MB / 382.1 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/0.5233, allocations: 133.5 kB / 0.5121 GB, free: 49.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.5264, allocations: 1.741 MB / 0.5138 GB, free: 48.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5264, allocations: 0 / 0.5138 GB, free: 48.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.5282, allocations: 1.077 MB / 0.5148 GB, free: 48.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.5292, allocations: 127.1 kB / 0.515 GB, free: 48.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.5333, allocations: 2.668 MB / 0.5176 GB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/0.5342, allocations: 1.181 MB / 0.5187 GB, free: 45.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000623/0.5348, allocations: 243 kB / 0.5189 GB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.535, allocations: 66.67 kB / 0.519 GB, free: 45.94 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5351, allocations: 0 / 0.519 GB, free: 45.94 MB / 382.1 MB Notification: Performance of Templates: time 0.01647/0.5515, allocations: 11.77 MB / 0.5305 GB, free: 39.86 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)