Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001057/0.001057, allocations: 180.6 kB / 16.38 MB, free: 5.762 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.165/1.165, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001635/0.001635, allocations: 111.3 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1658/0.1658, allocations: 38.01 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 16 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09253, allocations: 53.22 MB / 457 MB, free: 15.58 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3824/0.475, allocations: 116.3 MB / 0.5599 GB, free: 11.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.4754, allocations: 103.1 kB / 0.56 GB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08969/0.5651, allocations: 34.85 MB / 0.594 GB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5651, allocations: 0 / 0.594 GB, free: 13.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.158e-05/0.5652, allocations: 31.94 kB / 0.594 GB, free: 13.73 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.003026/0.5683, allocations: 1.434 MB / 0.5954 GB, free: 12.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5683, allocations: 16.02 kB / 0.5954 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.5688, allocations: 158.4 kB / 0.5956 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.5714, allocations: 1.213 MB / 0.5968 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.5715, allocations: 79.44 kB / 0.5968 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/0.5717, allocations: 118.1 kB / 0.597 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.5736, allocations: 1.297 MB / 0.5982 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.5737, allocations: 7.891 kB / 0.5982 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.5738, allocations: 48.67 kB / 0.5983 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.5739, allocations: 64.23 kB / 0.5983 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.5755, allocations: 1.035 MB / 0.5993 GB, free: 9.305 MB / 410.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/0.5819, allocations: 4.9 MB / 0.6041 GB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.5831, allocations: 0.7297 MB / 0.6048 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.5831, allocations: 16.59 kB / 0.6049 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5832, allocations: 43.12 kB / 0.6049 GB, free: 4.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 3.436e-06/0.5832, allocations: 0 / 0.6049 GB, free: 4.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.005555/0.5887, allocations: 3.041 MB / 0.6079 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.5888, allocations: 115.3 kB / 0.608 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/0.5896, allocations: 0.6016 MB / 0.6086 GB, free: 232 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.5896, allocations: 33.7 kB / 0.6086 GB, free: 192 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.59, allocations: 0.5417 MB / 0.6091 GB, free: 15.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.5902, allocations: 260.2 kB / 0.6094 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.5903, allocations: 16 kB / 0.6094 GB, free: 15.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5904, allocations: 341.9 kB / 0.6097 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.5909, allocations: 277.9 kB / 0.61 GB, free: 14.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.5915, allocations: 0.5161 MB / 0.6105 GB, free: 14.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.5921, allocations: 371.8 kB / 0.6108 GB, free: 13.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.5921, allocations: 3.953 kB / 0.6108 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002586/0.5947, allocations: 1.258 MB / 0.6121 GB, free: 12.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001127/0.5959, allocations: 2.963 MB / 0.615 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.5959, allocations: 8 kB / 0.615 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.5973, allocations: 420.4 kB / 0.6154 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.598, allocations: 167.7 kB / 0.6155 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.5995, allocations: 1.158 MB / 0.6167 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.6001, allocations: 35.91 kB / 0.6167 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.6002, allocations: 44.14 kB / 0.6167 GB, free: 7.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.6002, allocations: 0 / 0.6167 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002162/0.6024, allocations: 1.128 MB / 0.6178 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.6024, allocations: 11.98 kB / 0.6179 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.6037, allocations: 396.8 kB / 0.6182 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.6043, allocations: 167.7 kB / 0.6184 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007098/0.6114, allocations: 4.79 MB / 0.6231 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.6121, allocations: 35.89 kB / 0.6231 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.6122, allocations: 36 kB / 0.6231 GB, free: 0.75 MB / 426.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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: 0 * Non-linear torn systems: 1 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.000754/0.613, allocations: 432.8 kB / 0.6236 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.6131, allocations: 82.97 kB / 0.6236 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.6145, allocations: 0.8557 MB / 0.6245 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6145, allocations: 11.94 kB / 0.6245 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6145, allocations: 0 / 0.6245 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6145, allocations: 7.984 kB / 0.6245 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.6173, allocations: 1.803 MB / 0.6263 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6173, allocations: 4 kB / 0.6263 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/0.6182, allocations: 159.8 kB / 0.6264 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.6182, allocations: 8 kB / 0.6264 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.6183, allocations: 28.02 kB / 0.6264 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.6183, allocations: 4 kB / 0.6264 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6183, allocations: 0 / 0.6264 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.62, allocations: 1.275 MB / 0.6277 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.6204, allocations: 208 kB / 0.6279 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.6205, allocations: 16 kB / 0.6279 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.6209, allocations: 27.84 kB / 0.6279 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.621, allocations: 44.59 kB / 0.628 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.621, allocations: 23.98 kB / 0.628 GB, free: 11.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000546/0.6216, allocations: 483 kB / 0.6285 GB, free: 11.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6216, allocations: 3.938 kB / 0.6285 GB, free: 11.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001363/0.623, allocations: 423.9 kB / 0.6289 GB, free: 10.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.generator.phi_el,PMgen.generator.w_el,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * 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.0002811/0.6232, allocations: 179.1 kB / 0.629 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.6261, allocations: 1.573 MB / 0.6306 GB, free: 8.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.6261, allocations: 4.062 kB / 0.6306 GB, free: 8.957 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.6266, allocations: 347.5 kB / 0.6309 GB, free: 8.617 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.6276, allocations: 211.2 kB / 0.6311 GB, free: 8.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.6316, allocations: 2.983 MB / 0.634 GB, free: 5.395 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/0.6323, allocations: 1.194 MB / 0.6352 GB, free: 4.168 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008642/0.6332, allocations: 239.2 kB / 0.6354 GB, free: 3.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.6334, allocations: 67.42 kB / 0.6355 GB, free: 3.863 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6334, allocations: 3.938 kB / 0.6355 GB, free: 3.859 MB / 442.7 MB Notification: Performance of Templates: time 0.02401/0.6574, allocations: 14.68 MB / 0.6498 GB, free: 5.168 MB / 458.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1)