Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_ReferenceInertial",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.001084/0.001084, allocations: 177.1 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.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008537/0.0008534, allocations: 82 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1728/0.1728, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.38e-05, allocations: 8 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 56.32 MB / 474.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5642, allocations: 100.1 MB / 0.5608 GB, free: 2.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5645, allocations: 87.55 kB / 0.5609 GB, free: 2.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03231/0.5968, allocations: 12.2 MB / 0.5728 GB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5969, allocations: 0 / 0.5728 GB, free: 8.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.482e-05/0.5969, allocations: 16 kB / 0.5728 GB, free: 8.07 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001131/0.5981, allocations: 0.6295 MB / 0.5734 GB, free: 7.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5981, allocations: 12.03 kB / 0.5734 GB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.504e-05/0.5982, allocations: 82.91 kB / 0.5735 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/0.5987, allocations: 83.38 kB / 0.5736 GB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.6008, allocations: 0.8452 MB / 0.5744 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.6008, allocations: 30.69 kB / 0.5745 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.6009, allocations: 41.69 kB / 0.5745 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.6018, allocations: 0.6028 MB / 0.5751 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.6018, allocations: 0 / 0.5751 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.6019, allocations: 22 kB / 0.5751 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.6019, allocations: 20.78 kB / 0.5751 GB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.6026, allocations: 450.2 kB / 0.5756 GB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.6056, allocations: 2.863 MB / 0.5784 GB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.606, allocations: 223.8 kB / 0.5786 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.6062, allocations: 144.2 kB / 0.5787 GB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.6062, allocations: 8.203 kB / 0.5787 GB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.6062, allocations: 46.23 kB / 0.5788 GB, free: 2.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.804e-06/0.6063, allocations: 0 / 0.5788 GB, free: 2.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001358/0.6076, allocations: 0.8611 MB / 0.5796 GB, free: 1.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.6077, allocations: 85.14 kB / 0.5797 GB, free: 1.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.608, allocations: 292.2 kB / 0.58 GB, free: 1.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.608, allocations: 33.52 kB / 0.58 GB, free: 1.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.6082, allocations: 264 kB / 0.5802 GB, free: 1.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.6083, allocations: 111.6 kB / 0.5804 GB, free: 1.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.6083, allocations: 7.812 kB / 0.5804 GB, free: 1.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6084, allocations: 354.5 kB / 0.5807 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.6086, allocations: 136.5 kB / 0.5808 GB, free: 0.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.609, allocations: 345.2 kB / 0.5812 GB, free: 260 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.6093, allocations: 214.4 kB / 0.5814 GB, free: 96 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6093, allocations: 0 / 0.5814 GB, free: 96 kB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007429/0.61, allocations: 0.5178 MB / 0.5819 GB, free: 15.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6101, allocations: 10.5 kB / 0.5819 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6101, allocations: 8 kB / 0.5819 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.6101, allocations: 15.92 kB / 0.5819 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.6105, allocations: 111 kB / 0.582 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.6106, allocations: 15.98 kB / 0.582 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.6108, allocations: 22.3 kB / 0.582 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.6108, allocations: 27.62 kB / 0.5821 GB, free: 15.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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.0001196/0.611, allocations: 134.7 kB / 0.5822 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.611, allocations: 35.53 kB / 0.5822 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.6116, allocations: 346 kB / 0.5826 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.6116, allocations: 8 kB / 0.5826 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6117, allocations: 0 / 0.5826 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6117, allocations: 7.984 kB / 0.5826 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.613, allocations: 0.8803 MB / 0.5834 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.613, allocations: 4 kB / 0.5834 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.6133, allocations: 59.78 kB / 0.5835 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6133, allocations: 0 / 0.5835 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.6134, allocations: 11.11 kB / 0.5835 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.6134, allocations: 11.89 kB / 0.5835 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6134, allocations: 4.094 kB / 0.5835 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/0.6142, allocations: 0.6403 MB / 0.5841 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.6143, allocations: 111.3 kB / 0.5843 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.6143, allocations: 7.469 kB / 0.5843 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.6145, allocations: 15.17 kB / 0.5843 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.6146, allocations: 19.42 kB / 0.5843 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.6146, allocations: 11.98 kB / 0.5843 GB, free: 13.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.6148, allocations: 219.9 kB / 0.5845 GB, free: 13.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6148, allocations: 4 kB / 0.5845 GB, free: 13.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005086/0.6153, allocations: 106.2 kB / 0.5846 GB, free: 13.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 1 * 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.001191/0.6165, allocations: 1.457 MB / 0.586 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005425/0.6171, allocations: 371.3 kB / 0.5864 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6171, allocations: 0 / 0.5864 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.6173, allocations: 145.1 kB / 0.5865 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.6177, allocations: 55.02 kB / 0.5866 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.6193, allocations: 0.9207 MB / 0.5875 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.6199, allocations: 0.869 MB / 0.5883 GB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003313/0.6202, allocations: 123.1 kB / 0.5885 GB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.6204, allocations: 147.3 kB / 0.5886 GB, free: 9.465 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6204, allocations: 0 / 0.5886 GB, free: 9.465 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.6421, allocations: 6.597 MB / 0.595 GB, free: 2.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.6426, allocations: 160.2 kB / 0.5952 GB, free: 2.688 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.766, allocations: 3.938 kB / 0.5952 GB, free: 2.684 MB / 394.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_ReferenceInertial_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_ReferenceInertial.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat does not exist to compare? outputFormat=mat