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.0007713/0.0007713, allocations: 92.77 kB / 16.65 MB, free: 6.586 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.0008849/0.0008853, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.415/1.415, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1831/0.1831, allocations: 38.08 MB / 330.8 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 9.562 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 59.17 MB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007599/0.1331, allocations: 7.177 MB / 467 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.1392, allocations: 4.421 MB / 471.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.1397, allocations: 15.94 kB / 471.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.1401, allocations: 131.1 kB / 471.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.1427, allocations: 1.149 MB / 472.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007952/0.1435, allocations: 283.3 kB / 473 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.146, allocations: 2.58 MB / 475.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.1483, allocations: 1.257 MB / 476.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008902/0.1492, allocations: 477.7 kB / 477.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008871/0.1501, allocations: 0.6814 MB / 478 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.1502, allocations: 32 kB / 478.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.1527, allocations: 1.59 MB / 479.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.1532, allocations: 446.8 kB / 480.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.1537, allocations: 411.7 kB / 480.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.1556, allocations: 1.507 MB / 482 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1557, allocations: 0 / 482 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1557, allocations: 0 / 482 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1557, allocations: 4 kB / 482 MB, free: 0.8555 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.001533/0.1572, allocations: 0.972 MB / 483 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1573, allocations: 11.97 kB / 483 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.1604, allocations: 391.4 kB / 483.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.161, allocations: 482.6 kB / 483.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.1611, allocations: 58.3 kB / 483.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.1612, allocations: 76.27 kB / 484 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.1629, allocations: 1.172 MB / 485.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.163, allocations: 0 / 485.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/0.1631, allocations: 43.91 kB / 485.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.044e-05/0.1632, allocations: 73.95 kB / 485.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.165, allocations: 1.241 MB / 486.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.1705, allocations: 3.523 MB / 490 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.1722, allocations: 1.065 MB / 491.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/0.1731, allocations: 0.6644 MB / 491.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.1732, allocations: 16.98 kB / 491.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.1732, allocations: 47.55 kB / 491.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.246e-06/0.1732, allocations: 0 / 491.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.00706/0.1803, allocations: 3.106 MB / 494.9 MB, free: 3.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.1804, allocations: 90.11 kB / 495 MB, free: 3.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.1808, allocations: 357.7 kB / 495.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.1809, allocations: 41.7 kB / 495.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.1811, allocations: 320.1 kB / 495.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.1814, allocations: 311.4 kB / 496 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1815, allocations: 73.69 kB / 496.1 MB, free: 2.441 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1817, allocations: 374.8 kB / 496.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/0.1823, allocations: 465.7 kB / 496.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/0.1831, allocations: 0.5695 MB / 497.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.1847, allocations: 1.109 MB / 498.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1847, allocations: 4 kB / 498.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002448/0.1872, allocations: 1.481 MB / 0.4883 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1872, allocations: 8 kB / 0.4884 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1872, allocations: 0 / 0.4884 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009675/0.1882, allocations: 338.4 kB / 0.4887 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.1889, allocations: 179.7 kB / 0.4888 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/0.1944, allocations: 3.874 MB / 0.4926 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.1951, allocations: 51.94 kB / 0.4927 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.1952, allocations: 35.98 kB / 0.4927 GB, free: 9.738 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.0004436/0.1956, allocations: 298.5 kB / 0.493 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1957, allocations: 55.34 kB / 0.4931 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.1985, allocations: 1.567 MB / 0.4946 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.1986, allocations: 15.98 kB / 0.4946 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1986, allocations: 4 kB / 0.4946 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.1986, allocations: 3.984 kB / 0.4946 GB, free: 7.781 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.004966/0.2036, allocations: 3.044 MB / 0.4976 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.2036, allocations: 4 kB / 0.4976 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.2042, allocations: 163.8 kB / 0.4977 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000798/0.2051, allocations: 288.9 kB / 0.498 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.2051, allocations: 27.98 kB / 0.498 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.2099, allocations: 3.61 MB / 0.5016 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.21, allocations: 7.938 kB / 0.5016 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2409/0.4509, allocations: 1.584 MB / 0.5031 GB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.4512, allocations: 143.1 kB / 0.5033 GB, free: 55.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4514, allocations: 25.12 kB / 0.5033 GB, free: 55.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.4519, allocations: 42.06 kB / 0.5033 GB, free: 55.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.4521, allocations: 84.58 kB / 0.5034 GB, free: 55.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/0.4523, allocations: 38.92 kB / 0.5034 GB, free: 55.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000404/0.4527, allocations: 257.9 kB / 0.5037 GB, free: 55.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4527, allocations: 0 / 0.5037 GB, free: 55.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001075/0.4538, allocations: 304.2 kB / 0.504 GB, free: 55.32 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.0001751/0.4539, allocations: 130.6 kB / 0.5041 GB, free: 55.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.457, allocations: 1.388 MB / 0.5055 GB, free: 55.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4571, allocations: 4.844 kB / 0.5055 GB, free: 55.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.4588, allocations: 0.8412 MB / 0.5063 GB, free: 54.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/0.4598, allocations: 105.4 kB / 0.5064 GB, free: 54.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.4643, allocations: 2.167 MB / 0.5085 GB, free: 53.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.4656, allocations: 1.071 MB / 0.5095 GB, free: 52.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007691/0.4664, allocations: 180.4 kB / 0.5097 GB, free: 52.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.4667, allocations: 64.84 kB / 0.5098 GB, free: 52.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4667, allocations: 1.438 kB / 0.5098 GB, free: 52.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02339/0.4901, allocations: 9.322 MB / 0.5189 GB, free: 50.87 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)