Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 114.5 kB / 17.07 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001328, allocations: 194.9 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1952/0.1952, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 55.91 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4433, allocations: 58.06 MB / 0.5041 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007101/0.4505, allocations: 4.414 MB / 0.5084 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.4532, allocations: 1.512 MB / 0.5099 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.4535, allocations: 12.19 kB / 0.5099 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.4545, allocations: 289.6 kB / 0.5102 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008454/0.4553, allocations: 286.9 kB / 0.5104 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.4562, allocations: 246 kB / 0.5107 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007931/0.457, allocations: 0.6074 MB / 0.5113 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.4574, allocations: 228.5 kB / 0.5115 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.4579, allocations: 268.2 kB / 0.5117 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.4585, allocations: 369.7 kB / 0.5121 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.4586, allocations: 38.16 kB / 0.5121 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.4592, allocations: 224.4 kB / 0.5123 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.4595, allocations: 230.2 kB / 0.5126 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.4598, allocations: 255.7 kB / 0.5128 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.4608, allocations: 0.6702 MB / 0.5135 GB, free: 2.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4608, allocations: 0 / 0.5135 GB, free: 2.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4609, allocations: 0 / 0.5135 GB, free: 2.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.4609, allocations: 1.375 kB / 0.5135 GB, free: 2.184 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001733/0.4626, allocations: 0.7863 MB / 0.5142 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.4627, allocations: 13.77 kB / 0.5142 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007256/0.4634, allocations: 98.83 kB / 0.5143 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.4641, allocations: 422.9 kB / 0.5147 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.4642, allocations: 31.2 kB / 0.5148 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.4644, allocations: 52.56 kB / 0.5148 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.4656, allocations: 0.6954 MB / 0.5155 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.4657, allocations: 1.969 kB / 0.5155 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.4657, allocations: 15.77 kB / 0.5155 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002667/0.466, allocations: 70.31 kB / 0.5156 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.4676, allocations: 0.6623 MB / 0.5162 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/0.4719, allocations: 2.65 MB / 0.5188 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.4726, allocations: 323.2 kB / 0.5191 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.473, allocations: 209 kB / 0.5193 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.473, allocations: 4.688 kB / 0.5193 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4731, allocations: 40.61 kB / 0.5194 GB, free: 14.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 3.006e-06/0.4731, allocations: 1.062 kB / 0.5194 GB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0026/0.4757, allocations: 1.305 MB / 0.5206 GB, free: 13.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.4758, allocations: 84.92 kB / 0.5207 GB, free: 13.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.4762, allocations: 290 kB / 0.521 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.4763, allocations: 31.08 kB / 0.521 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.4766, allocations: 266.8 kB / 0.5213 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.4768, allocations: 139.9 kB / 0.5214 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.4769, allocations: 91.47 kB / 0.5215 GB, free: 13.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4772, allocations: 350.9 kB / 0.5218 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.4775, allocations: 187.9 kB / 0.522 GB, free: 12.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.478, allocations: 323 kB / 0.5223 GB, free: 12.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.4787, allocations: 0.5613 MB / 0.5229 GB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.4787, allocations: 14.25 kB / 0.5229 GB, free: 12.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001482/0.4802, allocations: 0.6786 MB / 0.5236 GB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.4803, allocations: 6.656 kB / 0.5236 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001095/0.4814, allocations: 497 kB / 0.524 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/0.482, allocations: 108.8 kB / 0.5241 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.4825, allocations: 83.05 kB / 0.5242 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004864/0.4873, allocations: 3.261 MB / 0.5274 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.4879, allocations: 31.25 kB / 0.5274 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.4879, allocations: 17.11 kB / 0.5274 GB, free: 8.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005147/0.4885, allocations: 207.7 kB / 0.5276 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.4888, allocations: 35.27 kB / 0.5277 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.4898, allocations: 467 kB / 0.5281 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/0.4899, allocations: 15.8 kB / 0.5281 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4899, allocations: 1 kB / 0.5281 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.4899, allocations: 5.344 kB / 0.5281 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.492, allocations: 1.018 MB / 0.5291 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.492, allocations: 2.531 kB / 0.5291 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.4924, allocations: 69.66 kB / 0.5292 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.4924, allocations: 11.19 kB / 0.5292 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.4925, allocations: 12.08 kB / 0.5292 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.4925, allocations: 3.188 kB / 0.5292 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4925, allocations: 0.6562 kB / 0.5292 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4936, allocations: 0.7392 MB / 0.53 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.4938, allocations: 145.9 kB / 0.5301 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.4938, allocations: 17.95 kB / 0.5301 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.494, allocations: 13.17 kB / 0.5301 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.4941, allocations: 19.33 kB / 0.5301 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.4941, allocations: 7.906 kB / 0.5302 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.4944, allocations: 207 kB / 0.5304 GB, free: 7.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4944, allocations: 3.938 kB / 0.5304 GB, free: 7.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006728/0.4951, allocations: 111.2 kB / 0.5305 GB, free: 7.195 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002738/0.4954, allocations: 145.2 kB / 0.5306 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.4966, allocations: 0.6998 MB / 0.5313 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4966, allocations: 9.094 kB / 0.5313 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.497, allocations: 207.8 kB / 0.5315 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.4975, allocations: 62.23 kB / 0.5315 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.4996, allocations: 1.134 MB / 0.5327 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.5003, allocations: 0.8705 MB / 0.5335 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003327/0.5007, allocations: 107.9 kB / 0.5336 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.5008, allocations: 33.27 kB / 0.5336 GB, free: 5.227 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5008, allocations: 0 / 0.5336 GB, free: 5.227 MB / 398.1 MB Notification: Performance of Templates: time 0.01079/0.5116, allocations: 4.35 MB / 0.5379 GB, free: 3.188 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)