Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Frequency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 86.66 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1613/0.1613, allocations: 38.06 MB / 357.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 12 kB / 424.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2521, allocations: 56.32 MB / 480.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.3681, allocations: 95.13 MB / 0.562 GB, free: 7.281 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.3683, allocations: 79.97 kB / 0.5621 GB, free: 7.203 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02585/0.3941, allocations: 10.22 MB / 0.5721 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3942, allocations: 0 / 0.5721 GB, free: 12.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.3942, allocations: 12 kB / 0.5721 GB, free: 12.86 MB / 410.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.001054/0.3953, allocations: 0.7579 MB / 0.5728 GB, free: 12.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3953, allocations: 11.97 kB / 0.5729 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.772e-05/0.3954, allocations: 74.88 kB / 0.5729 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.3955, allocations: 51.39 kB / 0.573 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.3977, allocations: 1.033 MB / 0.574 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3977, allocations: 25 kB / 0.574 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.3978, allocations: 39.98 kB / 0.574 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/0.3984, allocations: 459.3 kB / 0.5745 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3984, allocations: 0 / 0.5745 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.3984, allocations: 16 kB / 0.5745 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.3984, allocations: 12 kB / 0.5745 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.3989, allocations: 308.6 kB / 0.5748 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.4007, allocations: 1.756 MB / 0.5765 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.4009, allocations: 147.8 kB / 0.5767 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4009, allocations: 4.062 kB / 0.5767 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.4009, allocations: 39 kB / 0.5767 GB, free: 7.852 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.4009, allocations: 0 / 0.5767 GB, free: 7.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008416/0.4018, allocations: 0.5999 MB / 0.5773 GB, free: 7.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4018, allocations: 110.8 kB / 0.5774 GB, free: 7.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.4022, allocations: 328.7 kB / 0.5777 GB, free: 6.734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4022, allocations: 25.7 kB / 0.5777 GB, free: 6.703 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4023, allocations: 271.4 kB / 0.578 GB, free: 6.434 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.4024, allocations: 67.3 kB / 0.5781 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.4024, allocations: 4 kB / 0.5781 GB, free: 6.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4025, allocations: 346.8 kB / 0.5784 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.4026, allocations: 47.98 kB / 0.5784 GB, free: 5.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.4028, allocations: 198.9 kB / 0.5786 GB, free: 5.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.4029, allocations: 88.3 kB / 0.5787 GB, free: 5.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4029, allocations: 0 / 0.5787 GB, free: 5.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003692/0.4033, allocations: 289.2 kB / 0.579 GB, free: 5.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4033, allocations: 4 kB / 0.579 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4033, allocations: 8 kB / 0.579 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4033, allocations: 8 kB / 0.579 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.4036, allocations: 71.84 kB / 0.5791 GB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4036, allocations: 8 kB / 0.5791 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4038, allocations: 8 kB / 0.5791 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.4038, allocations: 16 kB / 0.5791 GB, free: 5.211 MB / 410.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.0001656/0.404, allocations: 185.7 kB / 0.5793 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.4041, allocations: 43.42 kB / 0.5793 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.4043, allocations: 177.1 kB / 0.5795 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4044, allocations: 4 kB / 0.5795 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4044, allocations: 0 / 0.5795 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4044, allocations: 0 / 0.5795 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.405, allocations: 0.5381 MB / 0.58 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.405, allocations: 0 / 0.58 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.4052, allocations: 36.02 kB / 0.5801 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4052, allocations: 4 kB / 0.5801 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4052, allocations: 3.984 kB / 0.5801 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4052, allocations: 7.938 kB / 0.5801 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4052, allocations: 0 / 0.5801 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.4056, allocations: 439 kB / 0.5805 GB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.4057, allocations: 108.7 kB / 0.5806 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.4058, allocations: 8 kB / 0.5806 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4059, allocations: 4 kB / 0.5806 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.406, allocations: 19.88 kB / 0.5806 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.406, allocations: 4 kB / 0.5806 GB, free: 3.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002183/0.4062, allocations: 255.2 kB / 0.5809 GB, free: 3.273 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4062, allocations: 0 / 0.5809 GB, free: 3.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.4066, allocations: 72 kB / 0.5809 GB, free: 3.203 MB / 410.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.0007241/0.4073, allocations: 1.182 MB / 0.5821 GB, free: 1.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.4076, allocations: 148.8 kB / 0.5822 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4076, allocations: 4.125 kB / 0.5822 GB, free: 1.828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.249e-05/0.4077, allocations: 59.86 kB / 0.5823 GB, free: 1.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.4082, allocations: 89.61 kB / 0.5824 GB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.412, allocations: 5.446 MB / 0.5877 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.4125, allocations: 0.8583 MB / 0.5885 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.4127, allocations: 51.25 kB / 0.5886 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.4128, allocations: 147.4 kB / 0.5887 GB, free: 11 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4128, allocations: 0 / 0.5887 GB, free: 11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.4309, allocations: 6.655 MB / 0.5952 GB, free: 4.402 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.4311, allocations: 183.5 kB / 0.5954 GB, free: 4.156 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.372, allocations: 0 / 0.5954 GB, free: 4.156 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Frequency_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Frequency.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat does not exist to compare? outputFormat=mat