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.001168/0.001168, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.381/1.381, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001711/0.001711, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1618/0.1618, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 6.234e-05/6.269e-05, allocations: 4 kB / 397.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3244, allocations: 53.22 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.4466, allocations: 90.06 MB / 0.5282 GB, free: 3.289 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4469, allocations: 87.81 kB / 0.5283 GB, free: 3.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2926/0.7395, allocations: 10.2 MB / 0.5383 GB, free: 86.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7396, allocations: 1.062 kB / 0.5383 GB, free: 86.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.549e-05/0.7396, allocations: 8.688 kB / 0.5383 GB, free: 86.93 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.001386/0.741, allocations: 0.6788 MB / 0.5389 GB, free: 86.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.7411, allocations: 9 kB / 0.539 GB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.7413, allocations: 74.64 kB / 0.539 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.7414, allocations: 56.28 kB / 0.5391 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.7445, allocations: 1.008 MB / 0.5401 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.7446, allocations: 27.84 kB / 0.5401 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.7448, allocations: 36.84 kB / 0.5401 GB, free: 85.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.7459, allocations: 450 kB / 0.5406 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.746, allocations: 4.625 kB / 0.5406 GB, free: 85.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.746, allocations: 15.94 kB / 0.5406 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.746, allocations: 9.375 kB / 0.5406 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000746/0.7468, allocations: 304.2 kB / 0.5409 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.7491, allocations: 1.763 MB / 0.5426 GB, free: 84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.7494, allocations: 141.6 kB / 0.5427 GB, free: 83.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.7495, allocations: 59.2 kB / 0.5428 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.7495, allocations: 2.156 kB / 0.5428 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.752e-05/0.7496, allocations: 41.75 kB / 0.5428 GB, free: 83.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.7496, allocations: 0 / 0.5428 GB, free: 83.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001092/0.7507, allocations: 0.5758 MB / 0.5434 GB, free: 83.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.7508, allocations: 106.8 kB / 0.5435 GB, free: 83.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.7511, allocations: 325.1 kB / 0.5438 GB, free: 82.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.7511, allocations: 29.7 kB / 0.5438 GB, free: 82.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.7512, allocations: 276.3 kB / 0.5441 GB, free: 82.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.7513, allocations: 57.91 kB / 0.5441 GB, free: 82.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.7513, allocations: 7.781 kB / 0.5442 GB, free: 82.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.7514, allocations: 349.5 kB / 0.5445 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.7515, allocations: 48.66 kB / 0.5445 GB, free: 82.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.7516, allocations: 190.3 kB / 0.5447 GB, free: 82.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.7517, allocations: 75.33 kB / 0.5448 GB, free: 82.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7517, allocations: 3.984 kB / 0.5448 GB, free: 82.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004021/0.7522, allocations: 289.1 kB / 0.5451 GB, free: 81.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.7522, allocations: 5.719 kB / 0.5451 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.7522, allocations: 5.906 kB / 0.5451 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.7522, allocations: 7.094 kB / 0.5451 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.7525, allocations: 70.72 kB / 0.5452 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.7525, allocations: 11.41 kB / 0.5452 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.7527, allocations: 16.66 kB / 0.5452 GB, free: 81.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.7527, allocations: 17.94 kB / 0.5452 GB, free: 81.85 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.442e-05/0.7528, allocations: 120.4 kB / 0.5453 GB, free: 81.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.7529, allocations: 37.41 kB / 0.5453 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.7532, allocations: 174.7 kB / 0.5455 GB, free: 81.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.7532, allocations: 11.86 kB / 0.5455 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7532, allocations: 0 / 0.5455 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.7532, allocations: 3.984 kB / 0.5455 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.7539, allocations: 0.5229 MB / 0.546 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7539, allocations: 0 / 0.546 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.7541, allocations: 35.11 kB / 0.5461 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.7541, allocations: 0 / 0.5461 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.7541, allocations: 11.92 kB / 0.5461 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.7541, allocations: 0.5 kB / 0.5461 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7541, allocations: 11.88 kB / 0.5461 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.7545, allocations: 426.1 kB / 0.5465 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.7546, allocations: 112.5 kB / 0.5466 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.7546, allocations: 3.953 kB / 0.5466 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.7548, allocations: 8.125 kB / 0.5466 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.7548, allocations: 15.8 kB / 0.5466 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.7548, allocations: 7.938 kB / 0.5466 GB, free: 80.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.755, allocations: 249.5 kB / 0.5469 GB, free: 80.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7551, allocations: 0 / 0.5469 GB, free: 80.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.7555, allocations: 90.05 kB / 0.547 GB, free: 80.45 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.0005573/0.7561, allocations: 1.169 MB / 0.5481 GB, free: 79.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.7563, allocations: 157.9 kB / 0.5483 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7563, allocations: 0 / 0.5483 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.7564, allocations: 52.25 kB / 0.5483 GB, free: 79.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.757, allocations: 81.34 kB / 0.5484 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.7584, allocations: 0.7342 MB / 0.5491 GB, free: 78.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.7587, allocations: 0.8577 MB / 0.5499 GB, free: 77.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.7589, allocations: 49.78 kB / 0.55 GB, free: 77.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.7591, allocations: 153.9 kB / 0.5501 GB, free: 77.77 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7591, allocations: 0 / 0.5501 GB, free: 77.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.7796, allocations: 6.513 MB / 0.5565 GB, free: 71.44 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.7798, allocations: 155.8 kB / 0.5566 GB, free: 71.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/3.107, allocations: 4 kB / 0.5566 GB, free: 71.2 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)