Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001556, allocations: 186 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001768/0.001767, allocations: 91.86 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3276/0.3276, allocations: 37.98 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.782e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 56.31 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5069/0.6137, allocations: 95.85 MB / 0.5556 GB, free: 7.891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.614, allocations: 79.95 kB / 0.5557 GB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2157/0.8297, allocations: 54.01 MB / 0.6085 GB, free: 1.105 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.8298, allocations: 3.938 kB / 0.6085 GB, free: 1.102 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.044e-05/0.8298, allocations: 16 kB / 0.6085 GB, free: 1.086 MB / 442.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.00267/0.8325, allocations: 0.9605 MB / 0.6094 GB, free: 80 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.8326, allocations: 12.03 kB / 0.6094 GB, free: 68 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005434/0.838, allocations: 398.4 kB / 0.6098 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.8398, allocations: 475.6 kB / 0.6103 GB, free: 15.17 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.8399, allocations: 61.97 kB / 0.6103 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.8403, allocations: 71.89 kB / 0.6104 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003871/0.8442, allocations: 1.137 MB / 0.6115 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.8443, allocations: 0 / 0.6115 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.8444, allocations: 28 kB / 0.6115 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005256/0.845, allocations: 109.8 kB / 0.6116 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/0.8486, allocations: 1.163 MB / 0.6128 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.8587, allocations: 3.523 MB / 0.6162 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/0.8627, allocations: 1.041 MB / 0.6172 GB, free: 7.895 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.8646, allocations: 0.6288 MB / 0.6178 GB, free: 7.262 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.8648, allocations: 12.77 kB / 0.6178 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.8648, allocations: 51.42 kB / 0.6179 GB, free: 7.188 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.148e-06/0.8649, allocations: 0 / 0.6179 GB, free: 7.188 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006334/0.8712, allocations: 1.986 MB / 0.6198 GB, free: 5.191 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.8713, allocations: 89.92 kB / 0.6199 GB, free: 5.082 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.8719, allocations: 319.5 kB / 0.6202 GB, free: 4.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.8721, allocations: 41.7 kB / 0.6203 GB, free: 4.723 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.8724, allocations: 362.6 kB / 0.6206 GB, free: 4.363 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/0.8729, allocations: 311.4 kB / 0.6209 GB, free: 4.055 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.873, allocations: 16 kB / 0.6209 GB, free: 4.039 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.8732, allocations: 346.8 kB / 0.6213 GB, free: 3.691 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.8744, allocations: 429.8 kB / 0.6217 GB, free: 3.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.8758, allocations: 0.5343 MB / 0.6222 GB, free: 2.703 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.8773, allocations: 0.5057 MB / 0.6227 GB, free: 2.199 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.8774, allocations: 0 / 0.6227 GB, free: 2.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004328/0.8817, allocations: 1.371 MB / 0.624 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.8818, allocations: 10.03 kB / 0.624 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.8818, allocations: 4.188 kB / 0.624 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/0.8835, allocations: 342.9 kB / 0.6244 GB, free: 480 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.8852, allocations: 195.7 kB / 0.6245 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/0.8944, allocations: 3.895 MB / 0.6283 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.8957, allocations: 63.86 kB / 0.6284 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.8958, allocations: 35.98 kB / 0.6284 GB, free: 12.12 MB / 474.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.0002884/0.8961, allocations: 140.9 kB / 0.6286 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.8963, allocations: 55.34 kB / 0.6286 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.901, allocations: 1.516 MB / 0.6301 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.9011, allocations: 12 kB / 0.6301 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.9011, allocations: 4 kB / 0.6301 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.9012, allocations: 7.922 kB / 0.6301 GB, free: 10.37 MB / 474.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.009153/0.9103, allocations: 2.984 MB / 0.633 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.9104, allocations: 4 kB / 0.6331 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.9118, allocations: 175.8 kB / 0.6332 GB, free: 7.082 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.9133, allocations: 277.1 kB / 0.6335 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.9135, allocations: 24 kB / 0.6335 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008049/0.9216, allocations: 3.592 MB / 0.637 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/0.9217, allocations: 4 kB / 0.637 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00441/0.9261, allocations: 1.708 MB / 0.6387 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.9265, allocations: 140.4 kB / 0.6388 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.9267, allocations: 35.86 kB / 0.6389 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/0.9276, allocations: 47.95 kB / 0.6389 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.9279, allocations: 80.58 kB / 0.639 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.928, allocations: 35.95 kB / 0.639 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004693/0.9285, allocations: 246.1 kB / 0.6392 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9285, allocations: 0 / 0.6392 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001507/0.93, allocations: 324 kB / 0.6396 GB, free: 276 kB / 474.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.0002944/0.9303, allocations: 143 kB / 0.6397 GB, free: 124 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3246/1.255, allocations: 1.309 MB / 0.641 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.255, allocations: 1.031 kB / 0.641 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002985/1.258, allocations: 0.8212 MB / 0.6418 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.259, allocations: 86.86 kB / 0.6419 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/1.264, allocations: 1.553 MB / 0.6434 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.265, allocations: 1.089 MB / 0.6444 GB, free: 121.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005284/1.266, allocations: 61.83 kB / 0.6445 GB, free: 121.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/1.266, allocations: 0 / 0.6445 GB, free: 121.2 MB / 474.7 MB Notification: Performance of Templates: time 0.02975/1.295, allocations: 11.79 MB / 0.656 GB, free: 120.9 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)