Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001045, allocations: 99.11 kB / 16.5 MB, free: 6.641 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.001121/0.001121, allocations: 195.1 kB / 17.42 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.176/0.176, allocations: 38.02 MB / 329.3 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 66.08 kB / 398.1 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 58.06 MB / 456.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009745/0.1468, allocations: 7.603 MB / 463.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007056/0.1539, allocations: 4.502 MB / 468.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008462/0.1548, allocations: 15.94 kB / 468.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002723/0.1575, allocations: 0.9715 MB / 469.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.1609, allocations: 1.145 MB / 470.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1619, allocations: 291.3 kB / 470.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003004/0.165, allocations: 2.576 MB / 473.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.1663, allocations: 0.6645 MB / 473.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.1675, allocations: 0.5016 MB / 474.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.1688, allocations: 0.736 MB / 475.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.169, allocations: 48 kB / 475.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.172, allocations: 1.613 MB / 476.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000716/0.1727, allocations: 470.9 kB / 477.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008195/0.1736, allocations: 425.9 kB / 477.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.1767, allocations: 1.523 MB / 479.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1767, allocations: 0 / 479.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1767, allocations: 0 / 479.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.213e-05/0.1768, allocations: 3.938 kB / 479.2 MB, free: 1.383 MB / 350.1 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.002417/0.1792, allocations: 1.132 MB / 480.3 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1792, allocations: 8.031 kB / 480.4 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.1826, allocations: 395.3 kB / 480.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008318/0.1834, allocations: 478.7 kB / 481.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.1835, allocations: 54.36 kB / 481.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.1837, allocations: 72.36 kB / 481.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.1858, allocations: 1.18 MB / 482.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.1858, allocations: 7.844 kB / 482.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/0.1859, allocations: 28 kB / 482.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.821e-05/0.186, allocations: 73.95 kB / 482.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.1882, allocations: 1.237 MB / 483.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006176/0.1944, allocations: 3.511 MB / 487.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.1961, allocations: 1.069 MB / 488.4 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009138/0.197, allocations: 0.6567 MB / 489.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.1971, allocations: 17 kB / 489.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.1972, allocations: 43.56 kB / 489.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.196e-06/0.1972, allocations: 0 / 489.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.007418/0.2046, allocations: 3.087 MB / 492.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.2047, allocations: 86.11 kB / 492.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.2052, allocations: 373.5 kB / 492.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.2053, allocations: 37.7 kB / 492.7 MB, free: 3.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2055, allocations: 316.1 kB / 493 MB, free: 3.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.2058, allocations: 311.4 kB / 493.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.2061, allocations: 162.5 kB / 493.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2063, allocations: 362.8 kB / 493.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/0.2071, allocations: 469.7 kB / 494.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008682/0.208, allocations: 0.5734 MB / 494.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.2097, allocations: 1.109 MB / 496 MB, free: 212 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2098, allocations: 4 kB / 496 MB, free: 208 kB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002946/0.2127, allocations: 1.481 MB / 497.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.2128, allocations: 4 kB / 497.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2128, allocations: 4 kB / 497.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2138, allocations: 330.3 kB / 497.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/0.2148, allocations: 179.7 kB / 498 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/0.2204, allocations: 3.868 MB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.2211, allocations: 48.02 kB / 0.4901 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.2213, allocations: 35.98 kB / 0.4902 GB, free: 10.09 MB / 382.1 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 (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): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005302/0.2218, allocations: 298.3 kB / 0.4905 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.222, allocations: 59.34 kB / 0.4905 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/0.2248, allocations: 1.563 MB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2248, allocations: 12 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.2248, allocations: 8 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.2249, allocations: 3.984 kB / 0.4921 GB, free: 8.133 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.005441/0.2303, allocations: 3.043 MB / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.2303, allocations: 4 kB / 0.495 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/0.231, allocations: 164.2 kB / 0.4952 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008488/0.2319, allocations: 288.5 kB / 0.4955 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/0.232, allocations: 31.98 kB / 0.4955 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005007/0.237, allocations: 3.585 MB / 0.499 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.237, allocations: 7.938 kB / 0.499 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2841/0.5211, allocations: 1.587 MB / 0.5006 GB, free: 56.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.5214, allocations: 148.5 kB / 0.5007 GB, free: 56.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.613e-05/0.5215, allocations: 25.64 kB / 0.5007 GB, free: 56.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.5219, allocations: 42.06 kB / 0.5008 GB, free: 56.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.5222, allocations: 84.72 kB / 0.5008 GB, free: 56.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/0.5223, allocations: 38.97 kB / 0.5009 GB, free: 56.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004861/0.5228, allocations: 258.1 kB / 0.5011 GB, free: 55.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5228, allocations: 1.375 kB / 0.5011 GB, free: 55.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001195/0.524, allocations: 304.2 kB / 0.5014 GB, free: 55.94 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(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.0001839/0.5242, allocations: 121.2 kB / 0.5015 GB, free: 55.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.5267, allocations: 1.393 MB / 0.5029 GB, free: 55.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5268, allocations: 1 kB / 0.5029 GB, free: 55.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.5281, allocations: 0.8435 MB / 0.5037 GB, free: 55.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.529, allocations: 111.8 kB / 0.5038 GB, free: 55.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.5323, allocations: 2.15 MB / 0.5059 GB, free: 54.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008888/0.5332, allocations: 1.07 MB / 0.507 GB, free: 53.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005902/0.5338, allocations: 184.7 kB / 0.5071 GB, free: 53.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.5341, allocations: 60.19 kB / 0.5072 GB, free: 53.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5341, allocations: 1.062 kB / 0.5072 GB, free: 53.4 MB / 382.1 MB Notification: Performance of Templates: time 0.02532/0.5594, allocations: 9.572 MB / 0.5165 GB, free: 51.46 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)