Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 102.4 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.001821/0.001821, 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1766/0.1766, allocations: 38.02 MB / 329.3 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.11 kB / 398.1 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 58.06 MB / 456.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008901/0.1437, allocations: 7.622 MB / 463.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005938/0.1497, allocations: 4.499 MB / 468.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006551/0.1504, allocations: 19.94 kB / 468.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.153, allocations: 0.9843 MB / 469.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.1562, allocations: 1.137 MB / 470.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.1571, allocations: 287.3 kB / 470.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002639/0.1597, allocations: 2.577 MB / 473.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.1609, allocations: 0.6684 MB / 473.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1621, allocations: 0.5016 MB / 474.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.1634, allocations: 0.7283 MB / 475.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.1635, allocations: 52 kB / 475.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.1664, allocations: 1.617 MB / 476.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006048/0.167, allocations: 463 kB / 477.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007791/0.1678, allocations: 425.9 kB / 477.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.1706, allocations: 1.523 MB / 479.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1707, allocations: 3.938 kB / 479.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1707, allocations: 3.938 kB / 479.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.1707, allocations: 0 / 479.2 MB, free: 1.32 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.002508/0.1732, allocations: 1.128 MB / 480.4 MB, free: 144 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1733, allocations: 12.03 kB / 480.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/0.1767, allocations: 387.4 kB / 480.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008892/0.1776, allocations: 474.7 kB / 481.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/0.1777, allocations: 54.36 kB / 481.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1778, allocations: 72.36 kB / 481.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.18, allocations: 1.18 MB / 482.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.1801, allocations: 7.906 kB / 482.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.1802, allocations: 24 kB / 482.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.1803, allocations: 73.95 kB / 482.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.1826, allocations: 1.241 MB / 483.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006698/0.1893, allocations: 3.519 MB / 487.4 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.1911, allocations: 1.065 MB / 488.4 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008632/0.192, allocations: 0.6645 MB / 489.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.744e-05/0.192, allocations: 13.36 kB / 489.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.1921, allocations: 51.5 kB / 489.2 MB, free: 7.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.906e-06/0.1921, allocations: 0 / 489.2 MB, free: 7.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006912/0.199, allocations: 3.083 MB / 492.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.1991, allocations: 94.08 kB / 492.3 MB, free: 3.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.1996, allocations: 369.5 kB / 492.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.1996, allocations: 41.7 kB / 492.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.1999, allocations: 308.2 kB / 493 MB, free: 3.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.2002, allocations: 311.4 kB / 493.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.2005, allocations: 162.5 kB / 493.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2007, allocations: 370.8 kB / 493.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.2014, allocations: 465.7 kB / 494.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.2022, allocations: 0.5696 MB / 494.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.2038, allocations: 1.109 MB / 496 MB, free: 148 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2038, allocations: 0 / 496 MB, free: 148 kB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002656/0.2065, allocations: 1.481 MB / 497.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2065, allocations: 4 kB / 497.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2066, allocations: 4 kB / 497.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.2076, allocations: 330.4 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.2083, allocations: 187.7 kB / 498 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/0.2142, allocations: 3.87 MB / 0.4901 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.2148, allocations: 43.95 kB / 0.4901 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.215, allocations: 39.98 kB / 0.4902 GB, free: 10.02 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.0006939/0.2157, allocations: 302.3 kB / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.2159, allocations: 55.34 kB / 0.4905 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.2191, allocations: 1.563 MB / 0.4921 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.2191, allocations: 11.98 kB / 0.4921 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.2191, allocations: 4 kB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/0.2191, allocations: 11.97 kB / 0.4921 GB, free: 8.062 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.00592/0.2251, allocations: 3.032 MB / 0.495 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.2251, allocations: 4.438 kB / 0.495 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.2258, allocations: 167.8 kB / 0.4952 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000894/0.2268, allocations: 292.5 kB / 0.4955 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/0.2269, allocations: 23.98 kB / 0.4955 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/0.2327, allocations: 3.591 MB / 0.499 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.2327, allocations: 8.062 kB / 0.499 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2887/0.5215, allocations: 1.581 MB / 0.5006 GB, free: 55.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.5217, allocations: 151.9 kB / 0.5007 GB, free: 55.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.5218, allocations: 28.69 kB / 0.5007 GB, free: 55.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.5223, allocations: 40.5 kB / 0.5008 GB, free: 55.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.5225, allocations: 85.23 kB / 0.5009 GB, free: 55.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/0.5226, allocations: 36.27 kB / 0.5009 GB, free: 55.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003362/0.5229, allocations: 258.6 kB / 0.5011 GB, free: 55.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.523, allocations: 0 / 0.5011 GB, free: 55.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001174/0.5241, allocations: 305.1 kB / 0.5014 GB, free: 55.58 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.0001865/0.5243, allocations: 121.4 kB / 0.5015 GB, free: 55.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.5269, allocations: 1.393 MB / 0.5029 GB, free: 55.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5269, allocations: 0 / 0.5029 GB, free: 55.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.5282, allocations: 0.8442 MB / 0.5037 GB, free: 54.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007154/0.5289, allocations: 103.5 kB / 0.5038 GB, free: 54.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.5321, allocations: 2.149 MB / 0.5059 GB, free: 53.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.5328, allocations: 1.068 MB / 0.507 GB, free: 53.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005202/0.5333, allocations: 182.2 kB / 0.5071 GB, free: 53.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.5335, allocations: 64.8 kB / 0.5072 GB, free: 53 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5336, allocations: 0 / 0.5072 GB, free: 53 MB / 382.1 MB Notification: Performance of Templates: time 0.01748/0.551, allocations: 9.578 MB / 0.5166 GB, free: 51.1 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)