Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",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.001156/0.001156, allocations: 180.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.279/1.279, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008018/0.0008018, allocations: 96.14 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1588/0.1588, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003297, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2524, allocations: 56.32 MB / 480.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.3745, allocations: 100.2 MB / 0.567 GB, free: 2.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.3748, allocations: 83.95 kB / 0.5671 GB, free: 2.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03574/0.4106, allocations: 13.29 MB / 0.5801 GB, free: 4.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4106, allocations: 0 / 0.5801 GB, free: 4.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.4106, allocations: 12 kB / 0.5801 GB, free: 4.672 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001153/0.4118, allocations: 0.7153 MB / 0.5808 GB, free: 3.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4118, allocations: 12.03 kB / 0.5808 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.349e-05/0.4119, allocations: 90.44 kB / 0.5809 GB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.4124, allocations: 95.28 kB / 0.581 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.4144, allocations: 0.8644 MB / 0.5818 GB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.4144, allocations: 36.92 kB / 0.5818 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.4145, allocations: 36 kB / 0.5819 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.4154, allocations: 0.657 MB / 0.5825 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.4154, allocations: 7.938 kB / 0.5825 GB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.4155, allocations: 16 kB / 0.5825 GB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.4156, allocations: 44.97 kB / 0.5826 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.4164, allocations: 0.6362 MB / 0.5832 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002906/0.4194, allocations: 2.418 MB / 0.5856 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.4199, allocations: 354.1 kB / 0.5859 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.4199, allocations: 12.33 kB / 0.5859 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.4199, allocations: 42.8 kB / 0.5859 GB, free: 14.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.42, allocations: 0 / 0.5859 GB, free: 14.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.002089/0.4221, allocations: 1.725 MB / 0.5876 GB, free: 12.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4221, allocations: 89.17 kB / 0.5877 GB, free: 12.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4223, allocations: 246.2 kB / 0.588 GB, free: 12.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.4224, allocations: 29.7 kB / 0.588 GB, free: 12.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4225, allocations: 250.7 kB / 0.5882 GB, free: 11.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.4226, allocations: 165.5 kB / 0.5884 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.4227, allocations: 8 kB / 0.5884 GB, free: 11.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4228, allocations: 346.8 kB / 0.5887 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.4231, allocations: 220.9 kB / 0.5889 GB, free: 11.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.4235, allocations: 357.2 kB / 0.5893 GB, free: 10.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.4239, allocations: 284.2 kB / 0.5895 GB, free: 10.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4239, allocations: 4 kB / 0.5895 GB, free: 10.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001122/0.425, allocations: 0.716 MB / 0.5902 GB, free: 9.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4251, allocations: 11.95 kB / 0.5903 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007924/0.4259, allocations: 0.5161 MB / 0.5908 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.4262, allocations: 76.78 kB / 0.5908 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.4266, allocations: 104.1 kB / 0.5909 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.4281, allocations: 1.62 MB / 0.5925 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.4284, allocations: 36.03 kB / 0.5925 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.4285, allocations: 16 kB / 0.5926 GB, free: 7.227 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 49 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.4288, allocations: 221.8 kB / 0.5928 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.4289, allocations: 31.62 kB / 0.5928 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.4297, allocations: 0.5597 MB / 0.5933 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/0.4297, allocations: 20 kB / 0.5934 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.4297, allocations: 0 / 0.5934 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.4297, allocations: 3.984 kB / 0.5934 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.4315, allocations: 1.188 MB / 0.5945 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4315, allocations: 4 kB / 0.5945 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.4319, allocations: 87.8 kB / 0.5946 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4319, allocations: 4.094 kB / 0.5946 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.4319, allocations: 12 kB / 0.5946 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4319, allocations: 0 / 0.5946 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.432, allocations: 7.953 kB / 0.5946 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4331, allocations: 0.9789 MB / 0.5956 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.4331, allocations: 104.6 kB / 0.5957 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.4332, allocations: 12.03 kB / 0.5957 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.4334, allocations: 23.97 kB / 0.5957 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.4335, allocations: 23.97 kB / 0.5958 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.4335, allocations: 16 kB / 0.5958 GB, free: 3.781 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.4337, allocations: 197.9 kB / 0.596 GB, free: 3.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4337, allocations: 3.938 kB / 0.596 GB, free: 3.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005075/0.4342, allocations: 139.9 kB / 0.5961 GB, free: 3.449 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * 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.001592/0.4358, allocations: 1.826 MB / 0.5979 GB, free: 1.562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4369, allocations: 0.6764 MB / 0.5985 GB, free: 0.875 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4369, allocations: 0 / 0.5985 GB, free: 0.875 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.4372, allocations: 256.6 kB / 0.5988 GB, free: 0.625 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.4377, allocations: 69.62 kB / 0.5989 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.4424, allocations: 5.817 MB / 0.6045 GB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4428, allocations: 0.8945 MB / 0.6054 GB, free: 9.676 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003385/0.4432, allocations: 115.2 kB / 0.6055 GB, free: 9.562 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.4434, allocations: 143.4 kB / 0.6057 GB, free: 9.422 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/0.4434, allocations: 4 kB / 0.6057 GB, free: 9.418 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.4638, allocations: 7.904 MB / 0.6134 GB, free: 1.578 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.464, allocations: 206.2 kB / 0.6136 GB, free: 1.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.421, allocations: 3.938 kB / 0.6136 GB, free: 1.336 MB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat does not exist to compare? outputFormat=mat