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.001085/0.001085, allocations: 176.5 kB / 8.345 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008845/0.0008843, allocations: 94.56 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1879/0.1879, allocations: 37.98 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.078e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.124, allocations: 56.33 MB / 467 MB, free: 6.469 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5637, allocations: 109.3 MB / 0.5628 GB, free: 1.469 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.564, allocations: 91.94 kB / 0.5629 GB, free: 1.379 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0643/0.6283, allocations: 23.1 MB / 0.5854 GB, free: 10.07 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6284, allocations: 0 / 0.5854 GB, free: 10.07 MB / 427.1 MB Notification: Performance of Transformations before backend: time 4.121e-05/0.6284, allocations: 19.94 kB / 0.5854 GB, free: 10.05 MB / 427.1 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.002565/0.631, allocations: 1.182 MB / 0.5866 GB, free: 8.816 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.631, allocations: 8.031 kB / 0.5866 GB, free: 8.809 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007232/0.6318, allocations: 154.8 kB / 0.5867 GB, free: 8.656 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.6349, allocations: 1.242 MB / 0.588 GB, free: 7.371 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.6351, allocations: 151.1 kB / 0.5881 GB, free: 7.203 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.6352, allocations: 51.98 kB / 0.5881 GB, free: 7.152 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001597/0.6369, allocations: 1.035 MB / 0.5892 GB, free: 6.117 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.6386, allocations: 1.166 MB / 0.5903 GB, free: 4.883 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.6387, allocations: 3.938 kB / 0.5903 GB, free: 4.879 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.6387, allocations: 4 kB / 0.5903 GB, free: 4.875 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.941e-05/0.6388, allocations: 53.98 kB / 0.5904 GB, free: 4.824 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006677/0.6455, allocations: 4.792 MB / 0.595 GB, free: 15.88 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.6468, allocations: 0.9342 MB / 0.5959 GB, free: 14.91 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007844/0.6476, allocations: 0.5426 MB / 0.5965 GB, free: 14.37 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.147e-05/0.6477, allocations: 8.562 kB / 0.5965 GB, free: 14.36 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.6478, allocations: 51.06 kB / 0.5965 GB, free: 14.3 MB / 443.1 MB Notification: Performance of pre-optimization done (n=74): time 2.835e-06/0.6478, allocations: 0 / 0.5965 GB, free: 14.3 MB / 443.1 MB Notification: Performance of matching and sorting (n=75): time 0.003759/0.6515, allocations: 2.304 MB / 0.5988 GB, free: 11.92 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.6516, allocations: 81.67 kB / 0.5989 GB, free: 11.82 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.652, allocations: 341.1 kB / 0.5992 GB, free: 11.48 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.6521, allocations: 25.7 kB / 0.5992 GB, free: 11.45 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.6523, allocations: 395.8 kB / 0.5996 GB, free: 11.06 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.6526, allocations: 256.2 kB / 0.5998 GB, free: 10.8 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.6526, allocations: 0 / 0.5998 GB, free: 10.8 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6528, allocations: 370.8 kB / 0.6002 GB, free: 10.43 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.6534, allocations: 433.9 kB / 0.6006 GB, free: 10.01 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.6541, allocations: 0.6125 MB / 0.6012 GB, free: 9.324 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.6548, allocations: 0.5 MB / 0.6017 GB, free: 8.824 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6548, allocations: 4 kB / 0.6017 GB, free: 8.82 MB / 443.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003377/0.6582, allocations: 1.808 MB / 0.6035 GB, free: 6.98 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.6582, allocations: 8.562 kB / 0.6035 GB, free: 6.973 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002965/0.6612, allocations: 1.573 MB / 0.605 GB, free: 5.371 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.6624, allocations: 0.5364 MB / 0.6055 GB, free: 4.828 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.663, allocations: 143.8 kB / 0.6057 GB, free: 4.688 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007504/0.6705, allocations: 5.921 MB / 0.6114 GB, free: 14.53 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.6712, allocations: 72.06 kB / 0.6115 GB, free: 14.46 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.6713, allocations: 32 kB / 0.6115 GB, free: 14.43 MB / 459.1 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.0001948/0.6715, allocations: 116.8 kB / 0.6117 GB, free: 14.31 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001507/0.673, allocations: 1.039 MB / 0.6127 GB, free: 13.24 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.6732, allocations: 55.34 kB / 0.6127 GB, free: 13.18 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.6749, allocations: 1.117 MB / 0.6138 GB, free: 12.04 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.6749, allocations: 16 kB / 0.6138 GB, free: 12.02 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.675, allocations: 3.953 kB / 0.6138 GB, free: 12.02 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.675, allocations: 7.984 kB / 0.6138 GB, free: 12.01 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.6785, allocations: 2.155 MB / 0.6159 GB, free: 9.785 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.6785, allocations: 0 / 0.6159 GB, free: 9.785 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/0.6814, allocations: 0.6322 MB / 0.6166 GB, free: 9.152 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.042e-05/0.6814, allocations: 28.84 kB / 0.6166 GB, free: 9.121 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.6815, allocations: 7.984 kB / 0.6166 GB, free: 9.113 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009126/0.6824, allocations: 1.337 MB / 0.6179 GB, free: 7.656 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6824, allocations: 4.031 kB / 0.6179 GB, free: 7.652 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.6848, allocations: 1.849 MB / 0.6197 GB, free: 5.734 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.685, allocations: 128.4 kB / 0.6198 GB, free: 5.59 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.6851, allocations: 7.984 kB / 0.6198 GB, free: 5.582 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.6856, allocations: 63.92 kB / 0.6199 GB, free: 5.52 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.6857, allocations: 64.39 kB / 0.62 GB, free: 5.453 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.6858, allocations: 16 kB / 0.62 GB, free: 5.438 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.000287/0.6861, allocations: 251 kB / 0.6202 GB, free: 5.191 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6861, allocations: 8 kB / 0.6202 GB, free: 5.184 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.001077/0.6872, allocations: 223.9 kB / 0.6204 GB, free: 4.965 MB / 459.1 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.002866/0.6901, allocations: 2.725 MB / 0.6231 GB, free: 2.168 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.6923, allocations: 1.377 MB / 0.6244 GB, free: 0.7656 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6923, allocations: 0 / 0.6244 GB, free: 0.7656 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.6948, allocations: 1.059 MB / 0.6255 GB, free: 15.7 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.6955, allocations: 101.8 kB / 0.6256 GB, free: 15.6 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.6994, allocations: 2.086 MB / 0.6276 GB, free: 13.45 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007311/0.7002, allocations: 1.095 MB / 0.6287 GB, free: 12.33 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0005733/0.7008, allocations: 193.1 kB / 0.6289 GB, free: 12.14 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.7012, allocations: 279.3 kB / 0.6291 GB, free: 11.87 MB / 475.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7012, allocations: 0 / 0.6291 GB, free: 11.87 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3145/1.016, allocations: 17.06 MB / 0.6458 GB, free: 139.4 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.016, allocations: 142.3 kB / 0.6459 GB, free: 139.2 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.617, allocations: 1.531 kB / 0.6459 GB, free: 139.2 MB / 475.1 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