Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_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.001603/0.001603, allocations: 177.1 kB / 13.64 MB, free: 1.672 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.614/1.614, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0007758/0.0007759, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.183/0.183, allocations: 37.97 MB / 353.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.471e-05, allocations: 4 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 56.32 MB / 474.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.4872, allocations: 109.9 MB / 0.5704 GB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.4875, allocations: 100.9 kB / 0.5705 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06396/0.5515, allocations: 23.29 MB / 0.5932 GB, free: 4.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5515, allocations: 0 / 0.5932 GB, free: 4.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.974e-05/0.5516, allocations: 20 kB / 0.5933 GB, free: 4.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003137/0.5548, allocations: 1.183 MB / 0.5944 GB, free: 3.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5548, allocations: 8.031 kB / 0.5944 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004381/0.5553, allocations: 149.2 kB / 0.5946 GB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/0.5563, allocations: 142.8 kB / 0.5947 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.5597, allocations: 1.25 MB / 0.5959 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.56, allocations: 176 kB / 0.5961 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.5603, allocations: 89.55 kB / 0.5962 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.5628, allocations: 1.274 MB / 0.5974 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.5628, allocations: 4 kB / 0.5974 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.563, allocations: 38.78 kB / 0.5975 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.351e-05/0.5631, allocations: 57.3 kB / 0.5975 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.5649, allocations: 1.133 MB / 0.5986 GB, free: 396 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007027/0.5719, allocations: 4.948 MB / 0.6035 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.5733, allocations: 0.9756 MB / 0.6044 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008132/0.5741, allocations: 0.5688 MB / 0.605 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.398e-05/0.5742, allocations: 8.562 kB / 0.605 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5742, allocations: 42.06 kB / 0.605 GB, free: 11.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 4.068e-06/0.5743, allocations: 4 kB / 0.605 GB, free: 11.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.003746/0.578, allocations: 2.385 MB / 0.6073 GB, free: 9.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.5781, allocations: 85.67 kB / 0.6074 GB, free: 9.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.5785, allocations: 401.2 kB / 0.6078 GB, free: 8.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.5786, allocations: 40.05 kB / 0.6078 GB, free: 8.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.5788, allocations: 398.6 kB / 0.6082 GB, free: 8.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.579, allocations: 259.5 kB / 0.6085 GB, free: 8.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.5791, allocations: 13.94 kB / 0.6085 GB, free: 8.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5793, allocations: 376.5 kB / 0.6088 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.5799, allocations: 443 kB / 0.6093 GB, free: 7.516 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/0.5806, allocations: 0.632 MB / 0.6099 GB, free: 6.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.5813, allocations: 0.5185 MB / 0.6104 GB, free: 6.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5813, allocations: 4 kB / 0.6104 GB, free: 6.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003458/0.5848, allocations: 1.874 MB / 0.6122 GB, free: 5.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.5848, allocations: 10.5 kB / 0.6122 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003087/0.5879, allocations: 1.619 MB / 0.6138 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.5892, allocations: 0.5286 MB / 0.6143 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.5897, allocations: 151.7 kB / 0.6145 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00799/0.5977, allocations: 6.228 MB / 0.6206 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.5985, allocations: 88.06 kB / 0.6206 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.5987, allocations: 28 kB / 0.6207 GB, free: 12.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.5989, allocations: 144.8 kB / 0.6208 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.5991, allocations: 67.23 kB / 0.6209 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.6013, allocations: 1.167 MB / 0.622 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/0.6013, allocations: 15.95 kB / 0.622 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6013, allocations: 4 kB / 0.622 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6014, allocations: 3.984 kB / 0.622 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.6051, allocations: 2.326 MB / 0.6243 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.6051, allocations: 4 kB / 0.6243 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002842/0.608, allocations: 0.64 MB / 0.6249 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.595e-05/0.6081, allocations: 24.86 kB / 0.625 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.6082, allocations: 15.98 kB / 0.625 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009408/0.6091, allocations: 1.385 MB / 0.6263 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6091, allocations: 7.953 kB / 0.6263 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.6117, allocations: 1.888 MB / 0.6282 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.6119, allocations: 128.4 kB / 0.6283 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6121, allocations: 24.05 kB / 0.6283 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.6127, allocations: 71.92 kB / 0.6284 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.6129, allocations: 68.41 kB / 0.6285 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.6129, allocations: 20 kB / 0.6285 GB, free: 4.059 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004037/0.6134, allocations: 313.6 kB / 0.6288 GB, free: 3.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6134, allocations: 0 / 0.6288 GB, free: 3.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00104/0.6144, allocations: 247.9 kB / 0.629 GB, free: 3.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003091/0.6175, allocations: 2.77 MB / 0.6317 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.6199, allocations: 1.439 MB / 0.6331 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6199, allocations: 3.938 kB / 0.6331 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002613/0.6226, allocations: 1.08 MB / 0.6342 GB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.6234, allocations: 134.5 kB / 0.6343 GB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.6276, allocations: 2.176 MB / 0.6364 GB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.6284, allocations: 1.083 MB / 0.6375 GB, free: 10.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006164/0.629, allocations: 221.8 kB / 0.6377 GB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.6295, allocations: 283.3 kB / 0.638 GB, free: 10.13 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6295, allocations: 0 / 0.638 GB, free: 10.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.639/2.268, allocations: 19.05 MB / 0.6566 GB, free: 7.098 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0115/2.28, allocations: 194.9 kB / 0.6568 GB, free: 6.867 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/4.9, allocations: 0 / 0.6568 GB, free: 6.867 MB / 458.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat does not exist to compare? outputFormat=mat