Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",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.00143/0.00143, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.748/1.748, 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.0008431/0.0008429, allocations: 78.67 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.1622/0.1622, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.216e-05, allocations: 0 / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 56.31 MB / 474.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5402, allocations: 99.87 MB / 0.5606 GB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.5404, allocations: 92.69 kB / 0.5607 GB, free: 2.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03926/0.5797, allocations: 14.52 MB / 0.5748 GB, free: 6.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5797, allocations: 0 / 0.5748 GB, free: 6.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.525e-05/0.5798, allocations: 16 kB / 0.5749 GB, free: 6.125 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00154/0.5813, allocations: 0.8735 MB / 0.5757 GB, free: 5.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5814, allocations: 8.031 kB / 0.5757 GB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.5815, allocations: 104.6 kB / 0.5758 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.5816, allocations: 71.16 kB / 0.5759 GB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.5844, allocations: 1.09 MB / 0.5769 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.5846, allocations: 121.9 kB / 0.5771 GB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5847, allocations: 54.06 kB / 0.5771 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.5858, allocations: 0.7345 MB / 0.5778 GB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5859, allocations: 0 / 0.5778 GB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/0.5859, allocations: 27.27 kB / 0.5779 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.586, allocations: 16 kB / 0.5779 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009564/0.5869, allocations: 0.6305 MB / 0.5785 GB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.5909, allocations: 2.621 MB / 0.581 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.5921, allocations: 0.7357 MB / 0.5818 GB, free: 208 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.5925, allocations: 353.5 kB / 0.5821 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.5926, allocations: 4.438 kB / 0.5821 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.5926, allocations: 42.88 kB / 0.5821 GB, free: 15.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 2.074e-06/0.5926, allocations: 0 / 0.5821 GB, free: 15.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=51): time 0.002359/0.595, allocations: 1.507 MB / 0.5836 GB, free: 14.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.5951, allocations: 89.53 kB / 0.5837 GB, free: 14.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.5955, allocations: 352.2 kB / 0.584 GB, free: 14.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5955, allocations: 33.58 kB / 0.5841 GB, free: 14.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5957, allocations: 288.6 kB / 0.5843 GB, free: 14.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.5959, allocations: 177.5 kB / 0.5845 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.5959, allocations: 13.5 kB / 0.5845 GB, free: 13.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5961, allocations: 360.5 kB / 0.5849 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.5964, allocations: 226.4 kB / 0.5851 GB, free: 13.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.5968, allocations: 340.2 kB / 0.5854 GB, free: 13.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.5972, allocations: 264 kB / 0.5857 GB, free: 12.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.5972, allocations: 4 kB / 0.5857 GB, free: 12.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001084/0.5983, allocations: 0.7765 MB / 0.5864 GB, free: 12.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5983, allocations: 7.953 kB / 0.5864 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.5984, allocations: 7.938 kB / 0.5864 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.5986, allocations: 75.86 kB / 0.5865 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.6003, allocations: 403 kB / 0.5869 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/0.605, allocations: 5.867 MB / 0.5926 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.6055, allocations: 57.2 kB / 0.5927 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.6056, allocations: 27.64 kB / 0.5927 GB, free: 5.625 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.6058, allocations: 134.8 kB / 0.5928 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.6059, allocations: 51.42 kB / 0.5929 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.607, allocations: 0.733 MB / 0.5936 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.6071, allocations: 11.95 kB / 0.5936 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6071, allocations: 0 / 0.5936 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.6071, allocations: 7.984 kB / 0.5936 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.6096, allocations: 1.601 MB / 0.5952 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.6096, allocations: 7.984 kB / 0.5952 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/0.6114, allocations: 426.9 kB / 0.5956 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.6117, allocations: 78.58 kB / 0.5957 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.6117, allocations: 10.31 kB / 0.5957 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.6139, allocations: 2.853 MB / 0.5985 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6139, allocations: 4.031 kB / 0.5985 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.6156, allocations: 1.264 MB / 0.5997 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.6158, allocations: 128.5 kB / 0.5998 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.6158, allocations: 11.25 kB / 0.5998 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.6162, allocations: 47.14 kB / 0.5999 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.6163, allocations: 51.08 kB / 0.5999 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.6164, allocations: 23.69 kB / 0.6 GB, free: 14.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003452/0.6167, allocations: 273.2 kB / 0.6002 GB, free: 14.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6167, allocations: 0 / 0.6002 GB, free: 14.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007064/0.6175, allocations: 160 kB / 0.6004 GB, free: 14.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002143/0.6196, allocations: 2.315 MB / 0.6026 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.6219, allocations: 1.04 MB / 0.6036 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6219, allocations: 0 / 0.6036 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.6239, allocations: 0.8315 MB / 0.6045 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.6245, allocations: 117.4 kB / 0.6046 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.6276, allocations: 1.451 MB / 0.606 GB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.6282, allocations: 0.9541 MB / 0.6069 GB, free: 8.262 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.6286, allocations: 124.7 kB / 0.607 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.6289, allocations: 198.9 kB / 0.6072 GB, free: 8.082 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6289, allocations: 0 / 0.6072 GB, free: 8.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05002/0.6789, allocations: 12.3 MB / 0.6192 GB, free: 11.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003347/0.6793, allocations: 189.2 kB / 0.6194 GB, free: 11.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.019, allocations: 0 / 0.6194 GB, free: 11.6 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat does not exist to compare? outputFormat=mat