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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Frequency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Frequency",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001327/0.001327, allocations: 178.1 kB / 8.351 MB, free: 0.7227 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.418/1.418, allocations: 194.4 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.00159/0.00159, allocations: 125.4 kB / 248.1 MB, free: 12 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1733/0.1733, allocations: 37.92 MB / 330.9 MB, free: 2.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.823e-05, allocations: 0 / 390.5 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2958, allocations: 53.22 MB / 443.7 MB, free: 17.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.422, allocations: 89.39 MB / 0.5206 GB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4223, allocations: 79.95 kB / 0.5207 GB, free: 8.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3188/0.7411, allocations: 10.11 MB / 0.5305 GB, free: 87.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.7412, allocations: 3.594 kB / 0.5305 GB, free: 87.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.814e-05/0.7413, allocations: 9.656 kB / 0.5305 GB, free: 87.88 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.001361/0.7427, allocations: 0.6795 MB / 0.5312 GB, free: 87.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.7427, allocations: 9.5 kB / 0.5312 GB, free: 87.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.7429, allocations: 55.25 kB / 0.5313 GB, free: 87.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.7457, allocations: 1.009 MB / 0.5322 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.7457, allocations: 11.22 kB / 0.5323 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.7458, allocations: 22.22 kB / 0.5323 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005285/0.7463, allocations: 267.4 kB / 0.5325 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.7471, allocations: 399.7 kB / 0.5329 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.7471, allocations: 1.125 kB / 0.5329 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.7471, allocations: 1.062 kB / 0.5329 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.7472, allocations: 9.219 kB / 0.5329 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.749, allocations: 1.697 MB / 0.5346 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.7492, allocations: 125.4 kB / 0.5347 GB, free: 85.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.7493, allocations: 55.42 kB / 0.5348 GB, free: 85.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.7494, allocations: 10.22 kB / 0.5348 GB, free: 85.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.7494, allocations: 31.78 kB / 0.5348 GB, free: 85.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.913e-06/0.7494, allocations: 0 / 0.5348 GB, free: 85.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007931/0.7502, allocations: 0.5453 MB / 0.5353 GB, free: 85.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.7503, allocations: 109.1 kB / 0.5354 GB, free: 85.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.7506, allocations: 292.5 kB / 0.5357 GB, free: 85.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.7506, allocations: 30.14 kB / 0.5357 GB, free: 85.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.7509, allocations: 281.6 kB / 0.536 GB, free: 84.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.7509, allocations: 55.14 kB / 0.5361 GB, free: 84.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.7509, allocations: 0.5312 kB / 0.5361 GB, free: 84.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7511, allocations: 348.5 kB / 0.5364 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.7512, allocations: 40.16 kB / 0.5364 GB, free: 84.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.7514, allocations: 173.7 kB / 0.5366 GB, free: 84.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.7515, allocations: 74.14 kB / 0.5367 GB, free: 84.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.7515, allocations: 1.781 kB / 0.5367 GB, free: 84.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005603/0.7521, allocations: 250.2 kB / 0.5369 GB, free: 84.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.7522, allocations: 7 kB / 0.5369 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.7522, allocations: 11.47 kB / 0.5369 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.7522, allocations: 7.625 kB / 0.5369 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.7525, allocations: 71.67 kB / 0.537 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.7526, allocations: 6.875 kB / 0.537 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.7527, allocations: 9.219 kB / 0.537 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.7528, allocations: 15.28 kB / 0.537 GB, free: 84.21 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 8.268e-05/0.7529, allocations: 122.1 kB / 0.5371 GB, free: 84.1 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002963/0.7532, allocations: 144.4 kB / 0.5373 GB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.7533, allocations: 35 kB / 0.5373 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.7536, allocations: 150.4 kB / 0.5375 GB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7536, allocations: 7.281 kB / 0.5375 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7536, allocations: 0.9688 kB / 0.5375 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.7537, allocations: 1.031 kB / 0.5375 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.7543, allocations: 480 kB / 0.5379 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7543, allocations: 1.188 kB / 0.5379 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.7545, allocations: 31.7 kB / 0.538 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.7545, allocations: 5.703 kB / 0.538 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.7545, allocations: 5.062 kB / 0.538 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.7545, allocations: 1.781 kB / 0.538 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7545, allocations: 9.312 kB / 0.538 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.755, allocations: 411.4 kB / 0.5384 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.755, allocations: 112.8 kB / 0.5385 GB, free: 83.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.7551, allocations: 2.219 kB / 0.5385 GB, free: 83.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.7552, allocations: 7.969 kB / 0.5385 GB, free: 83.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.7553, allocations: 17.02 kB / 0.5385 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.7553, allocations: 8.438 kB / 0.5385 GB, free: 83.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.7555, allocations: 218.5 kB / 0.5387 GB, free: 83.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7555, allocations: 0 / 0.5387 GB, free: 83.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.756, allocations: 65.88 kB / 0.5388 GB, free: 83.1 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.000585/0.7566, allocations: 1.161 MB / 0.5399 GB, free: 82.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.7568, allocations: 128.5 kB / 0.54 GB, free: 81.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.7569, allocations: 4.562 kB / 0.54 GB, free: 81.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.757, allocations: 52.19 kB / 0.5401 GB, free: 81.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.7576, allocations: 86.75 kB / 0.5402 GB, free: 81.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.7589, allocations: 0.7209 MB / 0.5409 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.7591, allocations: 0.8448 MB / 0.5417 GB, free: 80.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.7593, allocations: 49.23 kB / 0.5418 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.7595, allocations: 152.5 kB / 0.5419 GB, free: 80.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7595, allocations: 0 / 0.5419 GB, free: 80.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.786, allocations: 5.921 MB / 0.5477 GB, free: 79.69 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.7863, allocations: 135.8 kB / 0.5478 GB, free: 79.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/2.976, allocations: 4 kB / 0.5478 GB, free: 79.48 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Frequency_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Frequency.fmu > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)