Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 105.9 kB / 17.06 MB, free: 6.113 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.002374/0.002374, allocations: 196.1 kB / 18 MB, free: 5.191 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.528/1.528, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.184/0.184, allocations: 38.04 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 59.91 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4013, allocations: 58.05 MB / 0.5041 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005045/0.4064, allocations: 4.416 MB / 0.5084 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.4084, allocations: 1.423 MB / 0.5098 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.4086, allocations: 13.44 kB / 0.5098 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009541/0.4096, allocations: 382.7 kB / 0.5102 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.4101, allocations: 252.6 kB / 0.5104 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.4107, allocations: 239.7 kB / 0.5106 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.4113, allocations: 0.5573 MB / 0.5112 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.4117, allocations: 284.6 kB / 0.5114 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.412, allocations: 261 kB / 0.5117 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.4125, allocations: 358.6 kB / 0.512 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.4126, allocations: 38.88 kB / 0.5121 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.413, allocations: 218.4 kB / 0.5123 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.4133, allocations: 242.8 kB / 0.5125 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.4135, allocations: 257.8 kB / 0.5128 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007945/0.4143, allocations: 0.6781 MB / 0.5134 GB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4143, allocations: 0 / 0.5134 GB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4144, allocations: 0 / 0.5134 GB, free: 2.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4144, allocations: 1.094 kB / 0.5134 GB, free: 2.238 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001244/0.4156, allocations: 0.7865 MB / 0.5142 GB, free: 1.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4157, allocations: 16.92 kB / 0.5142 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.4162, allocations: 90.44 kB / 0.5143 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.4168, allocations: 430.9 kB / 0.5147 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.4169, allocations: 30.28 kB / 0.5147 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.417, allocations: 48.67 kB / 0.5148 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.418, allocations: 0.6792 MB / 0.5154 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.418, allocations: 5.031 kB / 0.5154 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.4181, allocations: 12.12 kB / 0.5155 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.4182, allocations: 52.42 kB / 0.5155 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.4194, allocations: 0.6704 MB / 0.5162 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.4232, allocations: 2.522 MB / 0.5186 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.4239, allocations: 332.2 kB / 0.5189 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.4243, allocations: 226 kB / 0.5192 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.4244, allocations: 3.859 kB / 0.5192 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4244, allocations: 45.8 kB / 0.5192 GB, free: 14.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.765e-06/0.4244, allocations: 0 / 0.5192 GB, free: 14.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002311/0.4267, allocations: 1.359 MB / 0.5205 GB, free: 14.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.4268, allocations: 81.89 kB / 0.5206 GB, free: 13.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.4272, allocations: 307.7 kB / 0.5209 GB, free: 13.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.4273, allocations: 31.08 kB / 0.5209 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.4275, allocations: 265.2 kB / 0.5212 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.4276, allocations: 156.4 kB / 0.5213 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.4278, allocations: 98.75 kB / 0.5214 GB, free: 13.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.428, allocations: 344.1 kB / 0.5218 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.4284, allocations: 205.1 kB / 0.5219 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.4288, allocations: 369.8 kB / 0.5223 GB, free: 12.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.4297, allocations: 0.6097 MB / 0.5229 GB, free: 12.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4297, allocations: 1.375 kB / 0.5229 GB, free: 12.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009726/0.4306, allocations: 0.6277 MB / 0.5235 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4307, allocations: 8.203 kB / 0.5235 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4307, allocations: 4.406 kB / 0.5235 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.4307, allocations: 8.438 kB / 0.5235 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.4312, allocations: 116.6 kB / 0.5236 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4312, allocations: 10.05 kB / 0.5237 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.4315, allocations: 29.72 kB / 0.5237 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.4315, allocations: 21.61 kB / 0.5237 GB, free: 12.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002703/0.4318, allocations: 215.2 kB / 0.5239 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.4319, allocations: 40.61 kB / 0.5239 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.4327, allocations: 0.4928 MB / 0.5244 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.4327, allocations: 15.08 kB / 0.5244 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4327, allocations: 1.281 kB / 0.5244 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4328, allocations: 6.672 kB / 0.5244 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.4345, allocations: 1.101 MB / 0.5255 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.4346, allocations: 1.922 kB / 0.5255 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.4349, allocations: 73.88 kB / 0.5256 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.4349, allocations: 2.25 kB / 0.5256 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.435, allocations: 13.98 kB / 0.5256 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.435, allocations: 2.156 kB / 0.5256 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.435, allocations: 6.641 kB / 0.5256 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4361, allocations: 0.8322 MB / 0.5264 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.4362, allocations: 112 kB / 0.5265 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.4362, allocations: 9.188 kB / 0.5265 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.4364, allocations: 15.05 kB / 0.5266 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.4365, allocations: 30.48 kB / 0.5266 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.4365, allocations: 9.141 kB / 0.5266 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.4368, allocations: 213 kB / 0.5268 GB, free: 10.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4368, allocations: 1.156 kB / 0.5268 GB, free: 10.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.4373, allocations: 111 kB / 0.5269 GB, free: 10.35 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * 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.0002216/0.4376, allocations: 139.8 kB / 0.527 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007025/0.4383, allocations: 0.4904 MB / 0.5275 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4383, allocations: 448 / 0.5275 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.4386, allocations: 225 kB / 0.5277 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.4391, allocations: 71.52 kB / 0.5278 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.4409, allocations: 1.121 MB / 0.5289 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.4414, allocations: 0.8738 MB / 0.5298 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.4418, allocations: 133.6 kB / 0.5299 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4419, allocations: 32.77 kB / 0.5299 GB, free: 8.613 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4419, allocations: 0 / 0.5299 GB, free: 8.613 MB / 398.1 MB Notification: Performance of Templates: time 0.009509/0.4514, allocations: 3.962 MB / 0.5338 GB, free: 6.996 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)