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.001027/0.001026, allocations: 178 kB / 17.4 MB, free: 4.297 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.419/1.419, allocations: 194.5 MB / 212.6 MB, free: 2.93 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.001491/0.001491, allocations: 112.8 kB / 257.9 MB, free: 4.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1737/0.1737, allocations: 38.02 MB / 341.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 12 kB / 405 MB, free: 68.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 53.23 MB / 458.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.5942, allocations: 116.3 MB / 0.5611 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.5946, allocations: 110.2 kB / 0.5612 GB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1014/0.696, allocations: 34.68 MB / 0.5951 GB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.696, allocations: 0 / 0.5951 GB, free: 13.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.6962, allocations: 31.94 kB / 0.5951 GB, free: 13.46 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.005667/0.7019, allocations: 1.405 MB / 0.5965 GB, free: 12.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.7019, allocations: 8.031 kB / 0.5965 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.7029, allocations: 155.3 kB / 0.5967 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.7063, allocations: 1.054 MB / 0.5977 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.7064, allocations: 96.23 kB / 0.5978 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005418/0.707, allocations: 127.1 kB / 0.5979 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.7101, allocations: 1.297 MB / 0.5992 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.7102, allocations: 3.938 kB / 0.5992 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.7104, allocations: 41.06 kB / 0.5992 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.7105, allocations: 67.41 kB / 0.5993 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.7128, allocations: 1.022 MB / 0.6003 GB, free: 9.184 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.008621/0.7214, allocations: 4.915 MB / 0.6051 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.7227, allocations: 0.7298 MB / 0.6058 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.7233, allocations: 332.1 kB / 0.6061 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.264e-05/0.7234, allocations: 16.48 kB / 0.6061 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.7235, allocations: 43.12 kB / 0.6062 GB, free: 3.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 4.599e-06/0.7235, allocations: 4 kB / 0.6062 GB, free: 3.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.006647/0.7301, allocations: 3.025 MB / 0.6091 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.7302, allocations: 119.4 kB / 0.6092 GB, free: 356 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.7314, allocations: 0.696 MB / 0.6099 GB, free: 15.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.7315, allocations: 37.7 kB / 0.61 GB, free: 15.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.7319, allocations: 0.5378 MB / 0.6105 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.7321, allocations: 252.4 kB / 0.6107 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.7322, allocations: 16 kB / 0.6107 GB, free: 14.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.7324, allocations: 343.2 kB / 0.6111 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.7329, allocations: 281.8 kB / 0.6113 GB, free: 14.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.7337, allocations: 0.52 MB / 0.6118 GB, free: 13.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.735, allocations: 0.8607 MB / 0.6127 GB, free: 12.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.735, allocations: 0 / 0.6127 GB, free: 12.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003044/0.7381, allocations: 1.273 MB / 0.6139 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003153/0.7384, allocations: 308.2 kB / 0.6142 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.7384, allocations: 11.94 kB / 0.6142 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.7399, allocations: 420.4 kB / 0.6146 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.7406, allocations: 159.8 kB / 0.6148 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008442/0.749, allocations: 4.711 MB / 0.6194 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009296/0.75, allocations: 47.77 kB / 0.6194 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.7502, allocations: 36 kB / 0.6195 GB, free: 5.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7502, allocations: 4 kB / 0.6195 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002627/0.7528, allocations: 1.14 MB / 0.6206 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.7529, allocations: 8 kB / 0.6206 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.7541, allocations: 401 kB / 0.621 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.7548, allocations: 159.8 kB / 0.6211 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007335/0.7621, allocations: 4.633 MB / 0.6256 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.7629, allocations: 31.98 kB / 0.6257 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.763, allocations: 39.98 kB / 0.6257 GB, free: 14.82 MB / 442.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.001048/0.7641, allocations: 433.4 kB / 0.6261 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.7644, allocations: 86.88 kB / 0.6262 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.7661, allocations: 0.8593 MB / 0.6271 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.7661, allocations: 8 kB / 0.6271 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7662, allocations: 4 kB / 0.6271 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.7662, allocations: 3.984 kB / 0.6271 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.7699, allocations: 1.798 MB / 0.6288 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.77, allocations: 4 kB / 0.6288 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/0.7708, allocations: 163.7 kB / 0.629 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.7708, allocations: 4 kB / 0.629 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/0.7709, allocations: 20 kB / 0.629 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.7709, allocations: 11.94 kB / 0.629 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7709, allocations: 7.969 kB / 0.629 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.7729, allocations: 1.231 MB / 0.6302 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.7733, allocations: 219.8 kB / 0.6304 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.7735, allocations: 23.98 kB / 0.6305 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.774, allocations: 27.92 kB / 0.6305 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.7741, allocations: 44.55 kB / 0.6305 GB, free: 9.754 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.7742, allocations: 19.98 kB / 0.6305 GB, free: 9.734 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007352/0.7749, allocations: 483 kB / 0.631 GB, free: 9.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7749, allocations: 0 / 0.631 GB, free: 9.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001964/0.7769, allocations: 448 kB / 0.6314 GB, free: 8.832 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.0003774/0.7773, allocations: 184.1 kB / 0.6316 GB, free: 8.645 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.7809, allocations: 1.834 MB / 0.6334 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7809, allocations: 448 / 0.6334 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.7815, allocations: 343.5 kB / 0.6337 GB, free: 6.441 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.7829, allocations: 223.1 kB / 0.6339 GB, free: 6.223 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.788, allocations: 2.993 MB / 0.6369 GB, free: 3.199 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.7893, allocations: 1.189 MB / 0.638 GB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001025/0.7903, allocations: 243.2 kB / 0.6383 GB, free: 1.738 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.7906, allocations: 67.44 kB / 0.6383 GB, free: 1.672 MB / 442.7 MB Notification: Performance of SimCode: time 7.32e-07/0.7906, allocations: 0 / 0.6383 GB, free: 1.672 MB / 442.7 MB Notification: Performance of Templates: time 0.03523/0.8258, allocations: 16.22 MB / 0.6542 GB, free: 1.43 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)