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.0009744/0.0009744, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.246/1.246, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008686/0.0008684, allocations: 99.05 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.1585/0.1585, allocations: 38.07 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003377, allocations: 12 kB / 424.1 MB, free: 37.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 56.32 MB / 480.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.3669, allocations: 99.96 MB / 0.5668 GB, free: 2.426 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3672, allocations: 95.95 kB / 0.5669 GB, free: 2.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03825/0.4054, allocations: 14.52 MB / 0.581 GB, free: 3.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4055, allocations: 0 / 0.581 GB, free: 3.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.111e-05/0.4055, allocations: 19.94 kB / 0.5811 GB, free: 3.586 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001671/0.4072, allocations: 0.9388 MB / 0.582 GB, free: 2.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4072, allocations: 12.03 kB / 0.582 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.4074, allocations: 102.5 kB / 0.5821 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4075, allocations: 75.14 kB / 0.5822 GB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.4101, allocations: 1.106 MB / 0.5832 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.4102, allocations: 116.7 kB / 0.5834 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.4103, allocations: 59.94 kB / 0.5834 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.4116, allocations: 0.7873 MB / 0.5842 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4116, allocations: 0 / 0.5842 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.4117, allocations: 27.95 kB / 0.5842 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.4117, allocations: 12 kB / 0.5842 GB, free: 208 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.413, allocations: 0.7455 MB / 0.585 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.4165, allocations: 2.627 MB / 0.5875 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.4179, allocations: 0.8322 MB / 0.5883 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.418, allocations: 8.484 kB / 0.5883 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.418, allocations: 42.94 kB / 0.5884 GB, free: 11.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 1.874e-06/0.418, allocations: 0 / 0.5884 GB, free: 11.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=51): time 0.003761/0.4218, allocations: 2.183 MB / 0.5905 GB, free: 9.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4219, allocations: 89.47 kB / 0.5906 GB, free: 9.406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.4222, allocations: 349.1 kB / 0.5909 GB, free: 9.055 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.4223, allocations: 33.7 kB / 0.591 GB, free: 9.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.4225, allocations: 296.5 kB / 0.5912 GB, free: 8.723 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.4226, allocations: 177.4 kB / 0.5914 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.4226, allocations: 12 kB / 0.5914 GB, free: 8.535 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4228, allocations: 362.7 kB / 0.5918 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.4233, allocations: 284.9 kB / 0.592 GB, free: 7.895 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.4239, allocations: 389.1 kB / 0.5924 GB, free: 7.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.4244, allocations: 325.9 kB / 0.5927 GB, free: 7.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4244, allocations: 0 / 0.5927 GB, free: 7.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001429/0.4259, allocations: 0.8914 MB / 0.5936 GB, free: 6.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4259, allocations: 8 kB / 0.5936 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4259, allocations: 8.188 kB / 0.5936 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.4262, allocations: 69.67 kB / 0.5937 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.4277, allocations: 407.5 kB / 0.5941 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.4332, allocations: 6.194 MB / 0.6001 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.4337, allocations: 52.22 kB / 0.6002 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.4337, allocations: 19.98 kB / 0.6002 GB, free: 14.95 MB / 442.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 () * Number of clocked 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.0003649/0.4341, allocations: 241.6 kB / 0.6004 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.4342, allocations: 47.34 kB / 0.6005 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.4357, allocations: 0.8516 MB / 0.6013 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4357, allocations: 8 kB / 0.6013 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4357, allocations: 3.938 kB / 0.6013 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4357, allocations: 11.94 kB / 0.6013 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.4384, allocations: 1.708 MB / 0.603 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4384, allocations: 4 kB / 0.603 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.4401, allocations: 423.6 kB / 0.6034 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.4403, allocations: 81.58 kB / 0.6035 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.4404, allocations: 12 kB / 0.6035 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.4424, allocations: 2.876 MB / 0.6063 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4424, allocations: 0 / 0.6063 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.4444, allocations: 1.429 MB / 0.6077 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.4445, allocations: 116.5 kB / 0.6078 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.4446, allocations: 16.03 kB / 0.6078 GB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.4449, allocations: 51.97 kB / 0.6079 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.4451, allocations: 47.83 kB / 0.6079 GB, free: 6.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.4451, allocations: 23.92 kB / 0.6079 GB, free: 6.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002794/0.4454, allocations: 271.1 kB / 0.6082 GB, free: 6.215 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4454, allocations: 4 kB / 0.6082 GB, free: 6.211 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006421/0.4461, allocations: 152 kB / 0.6083 GB, free: 6.062 MB / 442.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 () * Number of clocked 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.002494/0.4486, allocations: 2.471 MB / 0.6107 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.4509, allocations: 1.152 MB / 0.6119 GB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4509, allocations: 0 / 0.6119 GB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.4529, allocations: 0.896 MB / 0.6127 GB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.4535, allocations: 128 kB / 0.6129 GB, free: 1.266 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/0.4604, allocations: 6.045 MB / 0.6188 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.461, allocations: 0.9564 MB / 0.6197 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004106/0.4614, allocations: 136.7 kB / 0.6198 GB, free: 9.953 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.4617, allocations: 195.4 kB / 0.62 GB, free: 9.762 MB / 458.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4617, allocations: 0 / 0.62 GB, free: 9.762 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.4864, allocations: 12.32 MB / 0.6321 GB, free: 13.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.4867, allocations: 226.6 kB / 0.6323 GB, free: 13.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.517, allocations: 3.938 kB / 0.6323 GB, free: 13.24 MB / 474.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