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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001054/0.001054, allocations: 183.9 kB / 17.4 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.537/1.537, allocations: 194.5 MB / 212.6 MB, free: 2.934 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00171/0.00171, allocations: 119.2 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1799/0.1799, allocations: 38.01 MB / 341.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005752/0.0005752, allocations: 8 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.118, allocations: 53.23 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5219, allocations: 90.96 MB / 0.5364 GB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/0.5223, allocations: 94.91 kB / 0.5364 GB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1386/0.661, allocations: 54.33 MB / 0.5895 GB, free: 4.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.661, allocations: 3.984 kB / 0.5895 GB, free: 4.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.859e-05/0.6611, allocations: 16 kB / 0.5895 GB, free: 4.918 MB / 394.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.002994/0.6641, allocations: 1.004 MB / 0.5905 GB, free: 3.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.6641, allocations: 8.031 kB / 0.5905 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.6677, allocations: 403.4 kB / 0.5909 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.6688, allocations: 496.5 kB / 0.5914 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.977e-05/0.6689, allocations: 54.36 kB / 0.5914 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.6692, allocations: 72.36 kB / 0.5915 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.6715, allocations: 1.157 MB / 0.5926 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.6715, allocations: 192 / 0.5926 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.326e-05/0.6716, allocations: 35.92 kB / 0.5926 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003186/0.6719, allocations: 101.9 kB / 0.5927 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.6741, allocations: 1.187 MB / 0.5939 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005786/0.6799, allocations: 3.523 MB / 0.5973 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.6817, allocations: 1.046 MB / 0.5984 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009321/0.6827, allocations: 0.6408 MB / 0.599 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.937e-05/0.6828, allocations: 16.97 kB / 0.599 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.6829, allocations: 47.69 kB / 0.5991 GB, free: 10.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 4.718e-06/0.6829, allocations: 4 kB / 0.5991 GB, free: 10.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.006865/0.6897, allocations: 3.091 MB / 0.6021 GB, free: 7.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.6898, allocations: 90.11 kB / 0.6022 GB, free: 7.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.6903, allocations: 353.7 kB / 0.6025 GB, free: 7.312 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.6904, allocations: 41.7 kB / 0.6025 GB, free: 7.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.6906, allocations: 316.1 kB / 0.6028 GB, free: 6.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.6909, allocations: 315.4 kB / 0.6031 GB, free: 6.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.6909, allocations: 16 kB / 0.6032 GB, free: 6.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6911, allocations: 374.8 kB / 0.6035 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007059/0.6919, allocations: 437.8 kB / 0.6039 GB, free: 5.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.6927, allocations: 0.5422 MB / 0.6045 GB, free: 5.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.6942, allocations: 1.059 MB / 0.6055 GB, free: 4.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6942, allocations: 4 kB / 0.6055 GB, free: 4.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002448/0.6967, allocations: 1.419 MB / 0.6069 GB, free: 2.727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6967, allocations: 7.984 kB / 0.6069 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6968, allocations: 4 kB / 0.6069 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009801/0.6977, allocations: 339.1 kB / 0.6072 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/0.6985, allocations: 187.7 kB / 0.6074 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005377/0.7039, allocations: 3.907 MB / 0.6112 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006626/0.7046, allocations: 67.91 kB / 0.6113 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.7047, allocations: 31.98 kB / 0.6113 GB, free: 14.04 MB / 426.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.0005652/0.7053, allocations: 297.6 kB / 0.6116 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.7054, allocations: 59.25 kB / 0.6117 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.7082, allocations: 1.528 MB / 0.6131 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.7082, allocations: 15.94 kB / 0.6132 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.7083, allocations: 4 kB / 0.6132 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.7083, allocations: 3.984 kB / 0.6132 GB, free: 12.11 MB / 426.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.005897/0.7142, allocations: 3.005 MB / 0.6161 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.7142, allocations: 7.938 kB / 0.6161 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.7149, allocations: 167.8 kB / 0.6163 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008101/0.7157, allocations: 289.4 kB / 0.6165 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/0.7158, allocations: 24 kB / 0.6166 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.7215, allocations: 3.607 MB / 0.6201 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.7215, allocations: 4 kB / 0.6201 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.7242, allocations: 1.545 MB / 0.6216 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.7245, allocations: 148.3 kB / 0.6217 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.7247, allocations: 24 kB / 0.6218 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.7252, allocations: 43.95 kB / 0.6218 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.7254, allocations: 88.77 kB / 0.6219 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.7255, allocations: 28 kB / 0.6219 GB, free: 2.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003306/0.7258, allocations: 259.1 kB / 0.6222 GB, free: 2.535 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7258, allocations: 0 / 0.6222 GB, free: 2.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001097/0.7269, allocations: 320 kB / 0.6225 GB, free: 2.223 MB / 426.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.0002484/0.7272, allocations: 127 kB / 0.6226 GB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.7294, allocations: 1.346 MB / 0.6239 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/0.7294, allocations: 8.062 kB / 0.6239 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.7307, allocations: 0.8244 MB / 0.6247 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.7316, allocations: 110.3 kB / 0.6248 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.735, allocations: 2.117 MB / 0.6269 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/0.7359, allocations: 1.08 MB / 0.6279 GB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004939/0.7364, allocations: 176.6 kB / 0.6281 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.7366, allocations: 55.42 kB / 0.6282 GB, free: 12.25 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7366, allocations: 0 / 0.6282 GB, free: 12.25 MB / 442.7 MB Notification: Performance of Templates: time 0.0171/0.7537, allocations: 9.012 MB / 0.637 GB, free: 3.242 MB / 442.7 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)