Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 176.8 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 85.33 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.274/0.274, allocations: 38.07 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 8 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3016, allocations: 56.32 MB / 480.3 MB, free: 9.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.4255, allocations: 95.97 MB / 0.5627 GB, free: 6.387 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4258, allocations: 83.95 kB / 0.5628 GB, free: 6.305 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.126/0.5517, allocations: 54.36 MB / 0.6159 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5518, allocations: 0 / 0.6159 GB, free: 15.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.606e-05/0.5518, allocations: 16 kB / 0.6159 GB, free: 15.21 MB / 458.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.001742/0.5536, allocations: 1 MB / 0.6169 GB, free: 14.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5536, allocations: 12.03 kB / 0.6169 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/0.5568, allocations: 403.4 kB / 0.6173 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/0.5576, allocations: 492.5 kB / 0.6177 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.5576, allocations: 54.36 kB / 0.6178 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.5578, allocations: 72.36 kB / 0.6179 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.5595, allocations: 1.157 MB / 0.619 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.5595, allocations: 4.188 kB / 0.619 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/0.5596, allocations: 27.94 kB / 0.619 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002811/0.5599, allocations: 105.9 kB / 0.6191 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5616, allocations: 1.191 MB / 0.6203 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.5669, allocations: 3.527 MB / 0.6237 GB, free: 6.973 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5685, allocations: 1.057 MB / 0.6248 GB, free: 5.895 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008505/0.5694, allocations: 0.6371 MB / 0.6254 GB, free: 5.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.354e-05/0.5694, allocations: 12.98 kB / 0.6254 GB, free: 5.238 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5695, allocations: 43.56 kB / 0.6254 GB, free: 5.188 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.338e-06/0.5695, allocations: 0 / 0.6254 GB, free: 5.188 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006464/0.576, allocations: 3.098 MB / 0.6285 GB, free: 2.066 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.576, allocations: 86.11 kB / 0.6286 GB, free: 1.961 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.5765, allocations: 357.7 kB / 0.6289 GB, free: 1.605 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.5765, allocations: 41.7 kB / 0.6289 GB, free: 1.559 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.5767, allocations: 312.1 kB / 0.6292 GB, free: 1.246 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.577, allocations: 319.3 kB / 0.6295 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.577, allocations: 16 kB / 0.6296 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5772, allocations: 370.8 kB / 0.6299 GB, free: 0.543 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.5778, allocations: 445.9 kB / 0.6303 GB, free: 112 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/0.5785, allocations: 0.5422 MB / 0.6309 GB, free: 15.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.58, allocations: 1.059 MB / 0.6319 GB, free: 14.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.58, allocations: 0 / 0.6319 GB, free: 14.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002293/0.5823, allocations: 1.419 MB / 0.6333 GB, free: 13.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5823, allocations: 4 kB / 0.6333 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5823, allocations: 11.97 kB / 0.6333 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009025/0.5832, allocations: 335.1 kB / 0.6336 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.584, allocations: 191.7 kB / 0.6338 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004983/0.589, allocations: 3.9 MB / 0.6376 GB, free: 8.434 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.5896, allocations: 63.83 kB / 0.6377 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.5897, allocations: 35.98 kB / 0.6377 GB, free: 8.336 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 () * 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.0004832/0.5901, allocations: 301.5 kB / 0.638 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5903, allocations: 55.34 kB / 0.638 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.5928, allocations: 1.528 MB / 0.6395 GB, free: 6.434 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.5929, allocations: 15.94 kB / 0.6395 GB, free: 6.418 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5929, allocations: 4 kB / 0.6396 GB, free: 6.414 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5929, allocations: 3.984 kB / 0.6396 GB, free: 6.41 MB / 474.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.004657/0.5976, allocations: 3.008 MB / 0.6425 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5976, allocations: 7.938 kB / 0.6425 GB, free: 3.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.5982, allocations: 171.8 kB / 0.6427 GB, free: 3.098 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007484/0.5989, allocations: 277.5 kB / 0.6429 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.599, allocations: 23.98 kB / 0.643 GB, free: 2.801 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2013/0.8003, allocations: 3.597 MB / 0.6465 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8004, allocations: 6.656 kB / 0.6465 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.803, allocations: 1.554 MB / 0.648 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.8032, allocations: 144.8 kB / 0.6481 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.8033, allocations: 24.86 kB / 0.6482 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.8038, allocations: 51.16 kB / 0.6482 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.804, allocations: 82.7 kB / 0.6483 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/0.8041, allocations: 30.53 kB / 0.6483 GB, free: 121.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003216/0.8044, allocations: 254.1 kB / 0.6485 GB, free: 121.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8044, allocations: 0 / 0.6485 GB, free: 121.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001045/0.8054, allocations: 322.1 kB / 0.6489 GB, free: 121.9 MB / 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 () * 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.0001998/0.8056, allocations: 132.9 kB / 0.649 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.808, allocations: 1.352 MB / 0.6503 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.808, allocations: 0 / 0.6503 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.8093, allocations: 0.8225 MB / 0.6511 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.8102, allocations: 114.5 kB / 0.6512 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.8135, allocations: 2.193 MB / 0.6534 GB, free: 120.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.8142, allocations: 1.07 MB / 0.6544 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.8145, allocations: 61.97 kB / 0.6545 GB, free: 119.9 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/0.8145, allocations: 2.875 kB / 0.6545 GB, free: 119.9 MB / 474.7 MB Notification: Performance of Templates: time 0.02287/0.8373, allocations: 12.13 MB / 0.6663 GB, free: 119.3 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)