Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 116.2 kB / 17.07 MB, free: 6.004 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.001443/0.001444, allocations: 190.9 kB / 18 MB, free: 5.082 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.321/1.321, 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.1675/0.1675, allocations: 38.04 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 71.89 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3805, allocations: 58.04 MB / 0.5041 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.00727/0.3878, allocations: 5.448 MB / 0.5094 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3897, allocations: 1.107 MB / 0.5105 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.3899, allocations: 18.41 kB / 0.5105 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.3902, allocations: 78.77 kB / 0.5106 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006979/0.391, allocations: 295.5 kB / 0.5108 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3912, allocations: 145.8 kB / 0.511 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007035/0.392, allocations: 0.7043 MB / 0.5117 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.3923, allocations: 180.3 kB / 0.5118 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.3927, allocations: 314.1 kB / 0.5121 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.3932, allocations: 335 kB / 0.5125 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.3933, allocations: 32.56 kB / 0.5125 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.3934, allocations: 34.44 kB / 0.5125 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.3936, allocations: 152 kB / 0.5127 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.3938, allocations: 242.2 kB / 0.5129 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.3944, allocations: 495 kB / 0.5134 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3944, allocations: 0 / 0.5134 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.3945, allocations: 2.016 kB / 0.5134 GB, free: 1.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.3945, allocations: 0 / 0.5134 GB, free: 1.863 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001304/0.3958, allocations: 0.7903 MB / 0.5141 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3958, allocations: 13.33 kB / 0.5142 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.709e-05/0.3959, allocations: 54.33 kB / 0.5142 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000696/0.3966, allocations: 472.3 kB / 0.5147 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3967, allocations: 28.91 kB / 0.5147 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.3968, allocations: 39.86 kB / 0.5147 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.3975, allocations: 462.5 kB / 0.5152 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3975, allocations: 4.875 kB / 0.5152 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.3975, allocations: 12.84 kB / 0.5152 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3976, allocations: 9.406 kB / 0.5152 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.3981, allocations: 308.3 kB / 0.5155 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.4001, allocations: 1.758 MB / 0.5172 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.4004, allocations: 149.3 kB / 0.5173 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.4005, allocations: 57.83 kB / 0.5174 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.4005, allocations: 2.25 kB / 0.5174 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4006, allocations: 42 kB / 0.5174 GB, free: 14.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.4006, allocations: 0 / 0.5174 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001103/0.4017, allocations: 0.599 MB / 0.518 GB, free: 14.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.4018, allocations: 104.7 kB / 0.5181 GB, free: 14.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.4023, allocations: 379.1 kB / 0.5185 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4023, allocations: 26.86 kB / 0.5185 GB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.4025, allocations: 275.6 kB / 0.5188 GB, free: 13.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.4026, allocations: 55.62 kB / 0.5188 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.4027, allocations: 68.3 kB / 0.5189 GB, free: 13.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4028, allocations: 347.6 kB / 0.5192 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.4029, allocations: 45.39 kB / 0.5193 GB, free: 13.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.4031, allocations: 194.8 kB / 0.5195 GB, free: 13.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.4034, allocations: 279 kB / 0.5197 GB, free: 12.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4034, allocations: 1.156 kB / 0.5197 GB, free: 12.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004279/0.4038, allocations: 285 kB / 0.52 GB, free: 12.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4039, allocations: 7.594 kB / 0.52 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4039, allocations: 4.531 kB / 0.52 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4039, allocations: 8.344 kB / 0.52 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.4042, allocations: 68.83 kB / 0.5201 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.4042, allocations: 16.16 kB / 0.5201 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.4044, allocations: 22.84 kB / 0.5201 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.4044, allocations: 14.03 kB / 0.5201 GB, free: 12.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0001737/0.4046, allocations: 183 kB / 0.5203 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.4047, allocations: 33.95 kB / 0.5203 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.405, allocations: 168.7 kB / 0.5205 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.405, allocations: 2.312 kB / 0.5205 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.405, allocations: 9.219 kB / 0.5205 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.405, allocations: 6.719 kB / 0.5205 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007396/0.4057, allocations: 0.5289 MB / 0.521 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4058, allocations: 1 kB / 0.521 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.4059, allocations: 35.98 kB / 0.5211 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.406, allocations: 1.375 kB / 0.5211 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.406, allocations: 7.047 kB / 0.5211 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.406, allocations: 2.844 kB / 0.5211 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.406, allocations: 5.031 kB / 0.5211 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.4064, allocations: 400.2 kB / 0.5215 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.4065, allocations: 106.8 kB / 0.5216 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.4066, allocations: 7.641 kB / 0.5216 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.4067, allocations: 6.078 kB / 0.5216 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.4068, allocations: 21.7 kB / 0.5216 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4068, allocations: 6.516 kB / 0.5216 GB, free: 11.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002593/0.4071, allocations: 254.2 kB / 0.5219 GB, free: 11.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4071, allocations: 0 / 0.5219 GB, free: 11.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.4075, allocations: 69.19 kB / 0.5219 GB, free: 11.54 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * 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.0001248/0.4076, allocations: 106.1 kB / 0.522 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.4079, allocations: 159.9 kB / 0.5222 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.408, allocations: 0 / 0.5222 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.4081, allocations: 55.88 kB / 0.5222 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.4088, allocations: 106.8 kB / 0.5223 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.4102, allocations: 0.8651 MB / 0.5232 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.4107, allocations: 0.8399 MB / 0.524 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.4108, allocations: 54.44 kB / 0.524 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.4109, allocations: 28.95 kB / 0.5241 GB, free: 10.04 MB / 398.1 MB Notification: Performance of SimCode: time 3.116e-06/0.4109, allocations: 0 / 0.5241 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Templates: time 0.008611/0.4195, allocations: 3.281 MB / 0.5273 GB, free: 9.777 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)