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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001518/0.001518, allocations: 184.5 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.475/1.475, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001773/0.001773, allocations: 124 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1593/0.1593, allocations: 37.94 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.187e-05, allocations: 4 kB / 390.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3064, allocations: 53.22 MB / 443.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4324, allocations: 89.38 MB / 0.5205 GB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.4327, allocations: 79.97 kB / 0.5205 GB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3012/0.7339, allocations: 10.12 MB / 0.5304 GB, free: 87.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.734, allocations: 0.5625 kB / 0.5304 GB, free: 87.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.734, allocations: 13.59 kB / 0.5304 GB, free: 87.96 MB / 378.7 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.001081/0.7351, allocations: 0.6682 MB / 0.5311 GB, free: 87.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.7352, allocations: 9.953 kB / 0.5311 GB, free: 87.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.7353, allocations: 55.25 kB / 0.5312 GB, free: 87.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.7379, allocations: 1.003 MB / 0.5321 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.738, allocations: 14.86 kB / 0.5321 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.7381, allocations: 22.05 kB / 0.5322 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005818/0.7386, allocations: 271.2 kB / 0.5324 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.7393, allocations: 397.1 kB / 0.5328 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.7393, allocations: 2.062 kB / 0.5328 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.7394, allocations: 1.594 kB / 0.5328 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.7394, allocations: 12.78 kB / 0.5328 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.7413, allocations: 1.695 MB / 0.5345 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.7415, allocations: 132.8 kB / 0.5346 GB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.7416, allocations: 51.22 kB / 0.5347 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.7416, allocations: 11.88 kB / 0.5347 GB, free: 85.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.7416, allocations: 35.47 kB / 0.5347 GB, free: 85.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.565e-06/0.7416, allocations: 0 / 0.5347 GB, free: 85.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008303/0.7425, allocations: 0.5363 MB / 0.5352 GB, free: 85.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.7425, allocations: 108.7 kB / 0.5353 GB, free: 85.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.7428, allocations: 292.7 kB / 0.5356 GB, free: 85.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.7428, allocations: 25.7 kB / 0.5356 GB, free: 85.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.743, allocations: 281.8 kB / 0.5359 GB, free: 84.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.743, allocations: 56.61 kB / 0.536 GB, free: 84.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.743, allocations: 3.938 kB / 0.536 GB, free: 84.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.7431, allocations: 347.1 kB / 0.5363 GB, free: 84.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.7432, allocations: 39.09 kB / 0.5363 GB, free: 84.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.7433, allocations: 182.5 kB / 0.5365 GB, free: 84.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.7435, allocations: 71.84 kB / 0.5366 GB, free: 84.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7435, allocations: 1.125 kB / 0.5366 GB, free: 84.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004554/0.744, allocations: 253.8 kB / 0.5368 GB, free: 84.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.744, allocations: 7.562 kB / 0.5368 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.744, allocations: 5 kB / 0.5368 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.7441, allocations: 7.562 kB / 0.5368 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.7444, allocations: 70.83 kB / 0.5369 GB, free: 84.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.7444, allocations: 16.89 kB / 0.5369 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.7446, allocations: 5.906 kB / 0.5369 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.7446, allocations: 15.94 kB / 0.5369 GB, free: 84.3 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.7447, allocations: 116.5 kB / 0.537 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/0.7448, allocations: 43.3 kB / 0.5371 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.7451, allocations: 151.4 kB / 0.5372 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7451, allocations: 4.391 kB / 0.5372 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7451, allocations: 5.125 kB / 0.5372 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7451, allocations: 1.031 kB / 0.5372 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.7457, allocations: 481.2 kB / 0.5377 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7458, allocations: 1.031 kB / 0.5377 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.7459, allocations: 35.47 kB / 0.5377 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.746, allocations: 2.094 kB / 0.5377 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.746, allocations: 2.156 kB / 0.5377 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.746, allocations: 1.031 kB / 0.5377 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.746, allocations: 6.062 kB / 0.5377 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.7464, allocations: 410.1 kB / 0.5381 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.7464, allocations: 117.3 kB / 0.5382 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.7465, allocations: 2.625 kB / 0.5383 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.7466, allocations: 1.375 kB / 0.5383 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.7467, allocations: 19.44 kB / 0.5383 GB, free: 83.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.7467, allocations: 4.844 kB / 0.5383 GB, free: 83.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002063/0.7469, allocations: 226.1 kB / 0.5385 GB, free: 83.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7469, allocations: 4.969 kB / 0.5385 GB, free: 83.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004434/0.7474, allocations: 69.25 kB / 0.5386 GB, free: 83.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * Number of discrete variables: 1 (system.initime) * Number of discrete 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 (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.0001223/0.7475, allocations: 98.12 kB / 0.5387 GB, free: 83.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.7478, allocations: 134 kB / 0.5388 GB, free: 83.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7478, allocations: 0 / 0.5388 GB, free: 83.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.7479, allocations: 49.61 kB / 0.5388 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.7484, allocations: 92.06 kB / 0.5389 GB, free: 83.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.7497, allocations: 0.6268 MB / 0.5395 GB, free: 82.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.75, allocations: 0.8484 MB / 0.5404 GB, free: 82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.7502, allocations: 55.98 kB / 0.5404 GB, free: 81.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.7503, allocations: 25.19 kB / 0.5404 GB, free: 81.97 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7503, allocations: 0 / 0.5404 GB, free: 81.97 MB / 378.7 MB Notification: Performance of Templates: time 0.005895/0.7562, allocations: 2.758 MB / 0.5431 GB, free: 81.75 MB / 378.7 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)