Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001446, allocations: 186.4 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 90.64 kB / 261.8 MB, free: 1.668 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.2824/0.2824, allocations: 38 MB / 347.7 MB, free: 5.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.14e-05, allocations: 4 kB / 409.9 MB, free: 35.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 56.33 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5429/0.6508, allocations: 111.4 MB / 0.5641 GB, free: 460 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.6512, allocations: 88.64 kB / 0.5642 GB, free: 416 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.7838, allocations: 29.43 MB / 0.5929 GB, free: 7.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.7839, allocations: 0 / 0.5929 GB, free: 7.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.048e-05/0.784, allocations: 23.94 kB / 0.5929 GB, free: 7.566 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002912/0.7869, allocations: 1.035 MB / 0.5939 GB, free: 6.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.787, allocations: 8.031 kB / 0.594 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.7889, allocations: 189.7 kB / 0.5941 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/0.794, allocations: 1.189 MB / 0.5953 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.7941, allocations: 27.94 kB / 0.5953 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.7944, allocations: 48 kB / 0.5954 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00208/0.7965, allocations: 0.7271 MB / 0.5961 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.799, allocations: 0.9634 MB / 0.597 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.832e-05/0.7991, allocations: 7.922 kB / 0.597 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.7992, allocations: 0 / 0.597 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.7994, allocations: 68.41 kB / 0.5971 GB, free: 3.926 MB / 394.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 preOpt removeSimpleEquations (simulation): time 0.009017/0.8085, allocations: 3.894 MB / 0.6009 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.8095, allocations: 0.4935 MB / 0.6014 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.8101, allocations: 267.1 kB / 0.6016 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.8102, allocations: 12.31 kB / 0.6016 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.8103, allocations: 42.88 kB / 0.6017 GB, free: 15.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 4.117e-06/0.8103, allocations: 0 / 0.6017 GB, free: 15.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.005336/0.8156, allocations: 1.635 MB / 0.6033 GB, free: 14.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.8157, allocations: 81.55 kB / 0.6034 GB, free: 14.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/0.8165, allocations: 421.4 kB / 0.6038 GB, free: 13.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.8167, allocations: 25.7 kB / 0.6038 GB, free: 13.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.8171, allocations: 0.496 MB / 0.6043 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.8174, allocations: 197.3 kB / 0.6045 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.8174, allocations: 0 / 0.6045 GB, free: 13.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8176, allocations: 344.7 kB / 0.6048 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.8182, allocations: 259.7 kB / 0.605 GB, free: 12.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.819, allocations: 480 kB / 0.6055 GB, free: 12.33 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004072/0.8231, allocations: 0.696 MB / 0.6062 GB, free: 11.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.8231, allocations: 0 / 0.6062 GB, free: 11.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003674/0.8268, allocations: 1.051 MB / 0.6072 GB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.8269, allocations: 8 kB / 0.6072 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002737/0.8297, allocations: 0.7905 MB / 0.608 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.8307, allocations: 202.6 kB / 0.6082 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.832, allocations: 174.4 kB / 0.6083 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008605/0.8406, allocations: 5.998 MB / 0.6142 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/0.8417, allocations: 31.83 kB / 0.6142 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.8418, allocations: 31.94 kB / 0.6143 GB, free: 3.707 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: infBus.V = 20000.0 * infBus.v0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: infBus.V:VARIABLE(unit = "V" nominal = 1000.0 protected = true ) = 20000.0 * infBus.v0 type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 83 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000315/0.8421, allocations: 128.8 kB / 0.6144 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.8423, allocations: 67.19 kB / 0.6144 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.8439, allocations: 0.5957 MB / 0.615 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.8439, allocations: 4 kB / 0.615 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8439, allocations: 0 / 0.615 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.8439, allocations: 3.984 kB / 0.615 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.8478, allocations: 1.378 MB / 0.6164 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.8478, allocations: 0 / 0.6164 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.8491, allocations: 132 kB / 0.6165 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/0.8492, allocations: 7.953 kB / 0.6165 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.8492, allocations: 11.98 kB / 0.6165 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.8493, allocations: 4 kB / 0.6165 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.8493, allocations: 7.938 kB / 0.6165 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.8513, allocations: 1.004 MB / 0.6175 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/0.8518, allocations: 188.2 kB / 0.6177 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.8519, allocations: 4 kB / 0.6177 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/0.8526, allocations: 16.03 kB / 0.6177 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.8527, allocations: 36.27 kB / 0.6177 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.8528, allocations: 16 kB / 0.6178 GB, free: 15.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005851/0.8533, allocations: 318.9 kB / 0.6181 GB, free: 15.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8534, allocations: 0 / 0.6181 GB, free: 15.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001201/0.8546, allocations: 212 kB / 0.6183 GB, free: 15.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003191/0.8549, allocations: 143 kB / 0.6184 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.8577, allocations: 1.082 MB / 0.6195 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.8577, allocations: 0 / 0.6195 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.8583, allocations: 259 kB / 0.6197 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.8594, allocations: 114.3 kB / 0.6198 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.8637, allocations: 1.616 MB / 0.6214 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.8648, allocations: 1.102 MB / 0.6225 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.8652, allocations: 59.42 kB / 0.6225 GB, free: 10.93 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.8652, allocations: 0 / 0.6225 GB, free: 10.93 MB / 426.7 MB Notification: Performance of Templates: time 0.03496/0.9002, allocations: 15.68 MB / 0.6378 GB, free: 11.24 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1)