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.0009909/0.0009908, allocations: 177.1 kB / 8.35 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.591/1.591, 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.0009019/0.0009023, allocations: 89.52 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1689/0.1689, allocations: 37.99 MB / 348 MB, free: 7.754 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.62e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 56.33 MB / 467 MB, free: 6.465 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.4993, allocations: 99.2 MB / 0.5529 GB, free: 11.65 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/0.4998, allocations: 91.94 kB / 0.553 GB, free: 11.56 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04089/0.5407, allocations: 14.38 MB / 0.5671 GB, free: 13.01 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5407, allocations: 4 kB / 0.5671 GB, free: 13 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.482e-05/0.5408, allocations: 19.98 kB / 0.5671 GB, free: 12.98 MB / 411.1 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.001551/0.5423, allocations: 0.8645 MB / 0.5679 GB, free: 12.07 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5424, allocations: 8.031 kB / 0.5679 GB, free: 12.07 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.5425, allocations: 79.05 kB / 0.568 GB, free: 11.99 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.5452, allocations: 1.097 MB / 0.5691 GB, free: 10.84 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.5454, allocations: 100.7 kB / 0.5692 GB, free: 10.73 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.5455, allocations: 32 kB / 0.5692 GB, free: 10.7 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009474/0.5465, allocations: 0.5921 MB / 0.5698 GB, free: 10.11 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009561/0.5474, allocations: 0.656 MB / 0.5704 GB, free: 9.418 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.5475, allocations: 0 / 0.5704 GB, free: 9.418 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.5475, allocations: 7.891 kB / 0.5704 GB, free: 9.41 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.5476, allocations: 16 kB / 0.5704 GB, free: 9.395 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/0.5512, allocations: 2.507 MB / 0.5729 GB, free: 6.805 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.5523, allocations: 0.6949 MB / 0.5736 GB, free: 6.07 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/0.5528, allocations: 343.5 kB / 0.5739 GB, free: 5.727 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.5528, allocations: 4.438 kB / 0.5739 GB, free: 5.723 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.5529, allocations: 42.94 kB / 0.5739 GB, free: 5.672 MB / 411.1 MB Notification: Performance of pre-optimization done (n=50): time 3.025e-06/0.5529, allocations: 0 / 0.5739 GB, free: 5.672 MB / 411.1 MB Notification: Performance of matching and sorting (n=51): time 0.002256/0.5551, allocations: 1.423 MB / 0.5753 GB, free: 4.168 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.5552, allocations: 81.55 kB / 0.5754 GB, free: 4.07 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.5556, allocations: 298.3 kB / 0.5757 GB, free: 3.777 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.5557, allocations: 25.7 kB / 0.5757 GB, free: 3.746 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.5559, allocations: 288.3 kB / 0.576 GB, free: 3.457 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.5561, allocations: 173.4 kB / 0.5762 GB, free: 3.285 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.5561, allocations: 7.969 kB / 0.5762 GB, free: 3.277 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5563, allocations: 358.8 kB / 0.5765 GB, free: 2.918 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.5566, allocations: 221 kB / 0.5767 GB, free: 2.703 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.557, allocations: 320.5 kB / 0.577 GB, free: 2.348 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.5573, allocations: 250 kB / 0.5773 GB, free: 2.109 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5573, allocations: 8 kB / 0.5773 GB, free: 2.102 MB / 411.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009994/0.5583, allocations: 0.7274 MB / 0.578 GB, free: 1.34 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5584, allocations: 8.375 kB / 0.578 GB, free: 1.332 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5584, allocations: 4 kB / 0.578 GB, free: 1.328 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.5586, allocations: 73.67 kB / 0.5781 GB, free: 1.25 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.5603, allocations: 399.5 kB / 0.5784 GB, free: 0.8594 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/0.5648, allocations: 5.665 MB / 0.584 GB, free: 10.74 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.5653, allocations: 40.03 kB / 0.584 GB, free: 10.7 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.5654, allocations: 16 kB / 0.584 GB, free: 10.68 MB / 427.1 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.000173/0.5655, allocations: 116.8 kB / 0.5841 GB, free: 10.56 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009487/0.5665, allocations: 0.6505 MB / 0.5848 GB, free: 9.879 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.5666, allocations: 43.44 kB / 0.5848 GB, free: 9.836 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.5677, allocations: 0.6951 MB / 0.5855 GB, free: 9.109 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.5677, allocations: 11.94 kB / 0.5855 GB, free: 9.098 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5677, allocations: 0 / 0.5855 GB, free: 9.098 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.5677, allocations: 7.984 kB / 0.5855 GB, free: 9.09 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.5699, allocations: 1.49 MB / 0.587 GB, free: 7.512 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5699, allocations: 4 kB / 0.587 GB, free: 7.508 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/0.5718, allocations: 423.7 kB / 0.5874 GB, free: 7.094 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.572, allocations: 73.66 kB / 0.5875 GB, free: 7.016 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.5721, allocations: 15.92 kB / 0.5875 GB, free: 7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.5739, allocations: 2.746 MB / 0.5901 GB, free: 4.023 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.574, allocations: 4.031 kB / 0.5902 GB, free: 4.02 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.5755, allocations: 1.219 MB / 0.5913 GB, free: 2.691 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5756, allocations: 120.6 kB / 0.5915 GB, free: 2.555 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.5757, allocations: 12 kB / 0.5915 GB, free: 2.543 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.5761, allocations: 35.95 kB / 0.5915 GB, free: 2.508 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5762, allocations: 47.83 kB / 0.5915 GB, free: 2.461 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.5762, allocations: 16.09 kB / 0.5916 GB, free: 2.445 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.5765, allocations: 232.6 kB / 0.5918 GB, free: 2.223 MB / 427.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5765, allocations: 0 / 0.5918 GB, free: 2.223 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0007079/0.5772, allocations: 132 kB / 0.5919 GB, free: 2.094 MB / 427.1 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.001904/0.5791, allocations: 2.274 MB / 0.5941 GB, free: 15.73 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.5814, allocations: 0.9964 MB / 0.5951 GB, free: 14.71 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5814, allocations: 0 / 0.5951 GB, free: 14.71 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.5834, allocations: 0.8083 MB / 0.5959 GB, free: 13.88 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.5841, allocations: 97.28 kB / 0.596 GB, free: 13.78 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.5871, allocations: 1.382 MB / 0.5973 GB, free: 12.34 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.5877, allocations: 0.9602 MB / 0.5983 GB, free: 11.35 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0004193/0.5882, allocations: 128.5 kB / 0.5984 GB, free: 11.22 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.5884, allocations: 191.4 kB / 0.5986 GB, free: 11.04 MB / 443.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5885, allocations: 4 kB / 0.5986 GB, free: 11.04 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.6208, allocations: 10.75 MB / 0.6091 GB, free: 296 kB / 443.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.621, allocations: 152.2 kB / 0.6092 GB, free: 92 kB / 443.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/2.869, allocations: 0 / 0.6092 GB, free: 92 kB / 443.1 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