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.001159/0.001159, allocations: 182 kB / 13.64 MB, free: 1.676 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.932/1.932, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001785/0.001785, allocations: 124.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.186/0.186, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.794e-05/4.807e-05, allocations: 4 kB / 397.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3298, allocations: 53.21 MB / 450.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.4673, allocations: 90.86 MB / 0.5289 GB, free: 2.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.4676, allocations: 75.95 kB / 0.529 GB, free: 2.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3627/0.8303, allocations: 53.99 MB / 0.5817 GB, free: 46.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.8304, allocations: 4 kB / 0.5817 GB, free: 46.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.8304, allocations: 12 kB / 0.5817 GB, free: 46.2 MB / 378.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.001853/0.8323, allocations: 0.9684 MB / 0.5827 GB, free: 45.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.8323, allocations: 8.031 kB / 0.5827 GB, free: 45.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.8357, allocations: 394.6 kB / 0.5831 GB, free: 44.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009282/0.8367, allocations: 483.5 kB / 0.5835 GB, free: 44.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.8368, allocations: 57.98 kB / 0.5836 GB, free: 44.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.8369, allocations: 64 kB / 0.5836 GB, free: 44.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.8385, allocations: 1.141 MB / 0.5848 GB, free: 42.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.8385, allocations: 3.984 kB / 0.5848 GB, free: 42.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.686e-05/0.8386, allocations: 31.98 kB / 0.5848 GB, free: 42.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002944/0.8389, allocations: 109.9 kB / 0.5849 GB, free: 42.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.8405, allocations: 1.171 MB / 0.586 GB, free: 41.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00584/0.8464, allocations: 3.515 MB / 0.5895 GB, free: 38.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.8481, allocations: 1.045 MB / 0.5905 GB, free: 37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.8488, allocations: 0.6401 MB / 0.5911 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.146e-05/0.8489, allocations: 16.75 kB / 0.5911 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.849, allocations: 47.34 kB / 0.5912 GB, free: 36.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.757e-06/0.849, allocations: 0 / 0.5912 GB, free: 36.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.003408/0.8524, allocations: 1.982 MB / 0.5931 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.8524, allocations: 93.83 kB / 0.5932 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.8528, allocations: 315.5 kB / 0.5935 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.8528, allocations: 37.7 kB / 0.5935 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.853, allocations: 316.2 kB / 0.5938 GB, free: 33.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.8532, allocations: 315.3 kB / 0.5941 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.8532, allocations: 16 kB / 0.5942 GB, free: 33.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.8533, allocations: 374.8 kB / 0.5945 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.8538, allocations: 433.8 kB / 0.5949 GB, free: 32.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.8544, allocations: 0.5265 MB / 0.5954 GB, free: 31.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006536/0.8551, allocations: 0.5056 MB / 0.5959 GB, free: 31.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8551, allocations: 4 kB / 0.5959 GB, free: 31.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00205/0.8571, allocations: 1.395 MB / 0.5973 GB, free: 29.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.8572, allocations: 8 kB / 0.5973 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8572, allocations: 0 / 0.5973 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008649/0.8581, allocations: 335.9 kB / 0.5976 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.8588, allocations: 195.7 kB / 0.5978 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.8631, allocations: 3.884 MB / 0.6016 GB, free: 25.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.8639, allocations: 63.92 kB / 0.6017 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.864, allocations: 35.92 kB / 0.6017 GB, free: 25.23 MB / 378.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 () * 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.0001713/0.8642, allocations: 144.9 kB / 0.6018 GB, free: 25.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.8643, allocations: 63.36 kB / 0.6019 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.8666, allocations: 1.508 MB / 0.6034 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.8666, allocations: 12 kB / 0.6034 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8666, allocations: 8 kB / 0.6034 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.8666, allocations: 7.969 kB / 0.6034 GB, free: 23.47 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004285/0.8709, allocations: 2.975 MB / 0.6063 GB, free: 20.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.871, allocations: 4 kB / 0.6063 GB, free: 20.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/0.8716, allocations: 179.6 kB / 0.6065 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006855/0.8723, allocations: 277.5 kB / 0.6067 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.8723, allocations: 20 kB / 0.6068 GB, free: 19.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.8762, allocations: 3.598 MB / 0.6103 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.8762, allocations: 12.02 kB / 0.6103 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.8784, allocations: 1.701 MB / 0.6119 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.8786, allocations: 140.3 kB / 0.6121 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.443e-05/0.8787, allocations: 27.98 kB / 0.6121 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.8792, allocations: 47.95 kB / 0.6122 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.8793, allocations: 84.56 kB / 0.6122 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.8794, allocations: 28 kB / 0.6123 GB, free: 13.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.8796, allocations: 250.1 kB / 0.6125 GB, free: 13.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8796, allocations: 0 / 0.6125 GB, free: 13.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009841/0.8806, allocations: 327.9 kB / 0.6128 GB, free: 13.38 MB / 378.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 () * 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.0002051/0.8808, allocations: 138.3 kB / 0.6129 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.8826, allocations: 1.316 MB / 0.6142 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.8827, allocations: 4.125 kB / 0.6142 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.8837, allocations: 0.8271 MB / 0.615 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.8843, allocations: 85.95 kB / 0.6151 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.8863, allocations: 1.454 MB / 0.6165 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.8868, allocations: 1.097 MB / 0.6176 GB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000411/0.8872, allocations: 180.6 kB / 0.6178 GB, free: 8.148 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.8874, allocations: 51.42 kB / 0.6178 GB, free: 8.098 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.8874, allocations: 4 kB / 0.6178 GB, free: 8.094 MB / 378.7 MB Notification: Performance of Templates: time 0.01355/0.901, allocations: 8.998 MB / 0.6266 GB, free: 15.09 MB / 394.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)