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.001193/0.001193, allocations: 180 kB / 16.38 MB, free: 5.762 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.316/1.316, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001762/0.001762, allocations: 116.4 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1707/0.1707, allocations: 37.99 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09199, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3431/0.4351, allocations: 90.15 MB / 0.5344 GB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4354, allocations: 83.14 kB / 0.5345 GB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02575/0.4612, allocations: 10.2 MB / 0.5445 GB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4612, allocations: 4 kB / 0.5445 GB, free: 12.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.4613, allocations: 11.06 kB / 0.5445 GB, free: 12.21 MB / 362.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.001319/0.4626, allocations: 0.759 MB / 0.5452 GB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4627, allocations: 12.02 kB / 0.5452 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.4628, allocations: 73.97 kB / 0.5453 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.4628, allocations: 55.44 kB / 0.5454 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.4653, allocations: 1.02 MB / 0.5464 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.4653, allocations: 27.36 kB / 0.5464 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.4654, allocations: 34.94 kB / 0.5464 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.4661, allocations: 455.5 kB / 0.5468 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4661, allocations: 3.938 kB / 0.5469 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.4661, allocations: 15.62 kB / 0.5469 GB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.4662, allocations: 15.98 kB / 0.5469 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.4666, allocations: 310 kB / 0.5472 GB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.4688, allocations: 1.763 MB / 0.5489 GB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.469, allocations: 140 kB / 0.549 GB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.469, allocations: 4.062 kB / 0.549 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.4691, allocations: 37.94 kB / 0.5491 GB, free: 7.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.275e-06/0.4691, allocations: 0 / 0.5491 GB, free: 7.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009855/0.4701, allocations: 0.6013 MB / 0.5497 GB, free: 7.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.4702, allocations: 110.9 kB / 0.5498 GB, free: 7.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.4705, allocations: 316.8 kB / 0.5501 GB, free: 6.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.4705, allocations: 33.2 kB / 0.5501 GB, free: 6.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.4707, allocations: 283.8 kB / 0.5504 GB, free: 6.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.4708, allocations: 58 kB / 0.5504 GB, free: 6.605 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.4708, allocations: 3.375 kB / 0.5504 GB, free: 6.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4709, allocations: 350.8 kB / 0.5508 GB, free: 6.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.471, allocations: 51.28 kB / 0.5508 GB, free: 6.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.4712, allocations: 187 kB / 0.551 GB, free: 6.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4713, allocations: 86.05 kB / 0.5511 GB, free: 5.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4713, allocations: 0 / 0.5511 GB, free: 5.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003847/0.4717, allocations: 296.9 kB / 0.5514 GB, free: 5.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4717, allocations: 4 kB / 0.5514 GB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4718, allocations: 8.156 kB / 0.5514 GB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4718, allocations: 4 kB / 0.5514 GB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.472, allocations: 72.16 kB / 0.5514 GB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.4721, allocations: 19.92 kB / 0.5515 GB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.4722, allocations: 11.31 kB / 0.5515 GB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.4723, allocations: 19.38 kB / 0.5515 GB, free: 5.582 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.4725, allocations: 180.2 kB / 0.5517 GB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.4725, allocations: 39.52 kB / 0.5517 GB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.4728, allocations: 166.8 kB / 0.5519 GB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4729, allocations: 4 kB / 0.5519 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4729, allocations: 0 / 0.5519 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4729, allocations: 7.984 kB / 0.5519 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.4735, allocations: 0.532 MB / 0.5524 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4736, allocations: 3.984 kB / 0.5524 GB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.4737, allocations: 35.8 kB / 0.5524 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4738, allocations: 4 kB / 0.5524 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4738, allocations: 0 / 0.5524 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.4738, allocations: 7.938 kB / 0.5524 GB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4738, allocations: 0 / 0.5524 GB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.4742, allocations: 447.7 kB / 0.5529 GB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4744, allocations: 104.6 kB / 0.553 GB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.4744, allocations: 11.69 kB / 0.553 GB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.4746, allocations: 3.953 kB / 0.553 GB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.4746, allocations: 15.84 kB / 0.553 GB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4746, allocations: 4 kB / 0.553 GB, free: 4.125 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002278/0.4749, allocations: 253.7 kB / 0.5532 GB, free: 3.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4749, allocations: 0 / 0.5532 GB, free: 3.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.4753, allocations: 83.42 kB / 0.5533 GB, free: 3.848 MB / 362.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 () * 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 (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.000811/0.4761, allocations: 1.173 MB / 0.5545 GB, free: 2.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.4764, allocations: 152.2 kB / 0.5546 GB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4764, allocations: 0 / 0.5546 GB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/0.4765, allocations: 54.66 kB / 0.5547 GB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.477, allocations: 88.33 kB / 0.5547 GB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.4814, allocations: 5.451 MB / 0.5601 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.4819, allocations: 0.8491 MB / 0.5609 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.4821, allocations: 55.25 kB / 0.5609 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.4824, allocations: 153.3 kB / 0.5611 GB, free: 12.16 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4824, allocations: 0 / 0.5611 GB, free: 12.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.5019, allocations: 6.633 MB / 0.5676 GB, free: 5.547 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.5021, allocations: 175.1 kB / 0.5677 GB, free: 5.301 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.694, allocations: 0 / 0.5677 GB, free: 5.301 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)