Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001036/0.001036, allocations: 178.5 kB / 16.38 MB, free: 5.766 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.21/1.21, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001632/0.001632, allocations: 115.7 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1626/0.1626, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07587/0.07626, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.291/0.3673, allocations: 94.48 MB / 0.5386 GB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3676, allocations: 84.2 kB / 0.5386 GB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1345/0.5021, allocations: 59.32 MB / 0.5966 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5021, allocations: 0 / 0.5966 GB, free: 12.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.5021, allocations: 16 kB / 0.5966 GB, free: 12.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001919/0.5041, allocations: 1.19 MB / 0.5978 GB, free: 11.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5041, allocations: 12.02 kB / 0.5978 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/0.5078, allocations: 0.502 MB / 0.5983 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.5089, allocations: 0.549 MB / 0.5988 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.5089, allocations: 65.98 kB / 0.5989 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.5091, allocations: 87.98 kB / 0.5989 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.5112, allocations: 1.473 MB / 0.6004 GB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.5112, allocations: 4 kB / 0.6004 GB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/0.5113, allocations: 35.98 kB / 0.6004 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002868/0.5116, allocations: 126 kB / 0.6005 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.5137, allocations: 1.491 MB / 0.602 GB, free: 7.129 MB / 410.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 preOpt removeSimpleEquations (simulation): time 0.006617/0.5203, allocations: 4.857 MB / 0.6067 GB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.522, allocations: 1.156 MB / 0.6079 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.397e-05/0.5221, allocations: 25.06 kB / 0.6079 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.5221, allocations: 47.84 kB / 0.6079 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 6.202e-06/0.5221, allocations: 0 / 0.6079 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.007531/0.5297, allocations: 3.723 MB / 0.6116 GB, free: 13.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.5297, allocations: 86.11 kB / 0.6117 GB, free: 12.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.5303, allocations: 420.8 kB / 0.6121 GB, free: 12.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/0.5304, allocations: 41.7 kB / 0.6121 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.5306, allocations: 423.5 kB / 0.6125 GB, free: 12.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.5309, allocations: 370.5 kB / 0.6128 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.531, allocations: 24 kB / 0.6129 GB, free: 11.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5311, allocations: 386.7 kB / 0.6132 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/0.5319, allocations: 0.5296 MB / 0.6138 GB, free: 10.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008706/0.5328, allocations: 0.7273 MB / 0.6145 GB, free: 9.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009139/0.5337, allocations: 0.6432 MB / 0.6151 GB, free: 9.289 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5337, allocations: 3.938 kB / 0.6151 GB, free: 9.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002793/0.5365, allocations: 1.775 MB / 0.6168 GB, free: 7.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5365, allocations: 4 kB / 0.6168 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5366, allocations: 11.95 kB / 0.6168 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.5376, allocations: 404 kB / 0.6172 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/0.5385, allocations: 239.6 kB / 0.6175 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.545, allocations: 5.752 MB / 0.6231 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008336/0.5459, allocations: 67.92 kB / 0.6231 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.546, allocations: 43.98 kB / 0.6232 GB, free: 0.6914 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006542/0.5466, allocations: 357.5 kB / 0.6235 GB, free: 340 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.5468, allocations: 75.22 kB / 0.6236 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.5497, allocations: 1.779 MB / 0.6253 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5498, allocations: 15.98 kB / 0.6254 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.5498, allocations: 4 kB / 0.6254 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.5498, allocations: 11.94 kB / 0.6254 GB, free: 14.43 MB / 442.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.005685/0.5555, allocations: 3.447 MB / 0.6287 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5555, allocations: 4 kB / 0.6287 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/0.5563, allocations: 183.8 kB / 0.6289 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008937/0.5572, allocations: 359.7 kB / 0.6293 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.5572, allocations: 24 kB / 0.6293 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005954/0.5632, allocations: 5.47 MB / 0.6346 GB, free: 4.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5632, allocations: 8.062 kB / 0.6346 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.566, allocations: 1.964 MB / 0.6365 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.5662, allocations: 156.2 kB / 0.6367 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5664, allocations: 27.98 kB / 0.6367 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.5669, allocations: 47.95 kB / 0.6368 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.567, allocations: 92.78 kB / 0.6369 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.5671, allocations: 39.98 kB / 0.6369 GB, free: 2.031 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003673/0.5675, allocations: 319.1 kB / 0.6372 GB, free: 1.719 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5675, allocations: 0 / 0.6372 GB, free: 1.719 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001122/0.5686, allocations: 412 kB / 0.6376 GB, free: 1.316 MB / 442.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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000198/0.5688, allocations: 139 kB / 0.6377 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.5715, allocations: 1.705 MB / 0.6394 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5715, allocations: 0.625 kB / 0.6394 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.5731, allocations: 1.073 MB / 0.6404 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.5737, allocations: 118.8 kB / 0.6406 GB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.5772, allocations: 2.566 MB / 0.6431 GB, free: 11.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008441/0.5781, allocations: 1.196 MB / 0.6442 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006029/0.5787, allocations: 237.4 kB / 0.6445 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.5789, allocations: 59.42 kB / 0.6445 GB, free: 10.07 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5789, allocations: 0 / 0.6445 GB, free: 10.07 MB / 458.7 MB Notification: Performance of Templates: time 0.01806/0.597, allocations: 11.1 MB / 0.6553 GB, free: 14.97 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)