Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, 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 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.3 MB / 235.5 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009853/0.0009851, allocations: 90.12 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.629e-05, allocations: 4 kB / 343.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 50.41 MB / 394.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3287/0.4349, allocations: 84.36 MB / 478.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.4352, allocations: 87.94 kB / 478.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03575/0.471, allocations: 13.82 MB / 492.6 MB, free: 5.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.471, allocations: 0 / 492.6 MB, free: 5.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.363e-05/0.4711, allocations: 19.98 kB / 492.6 MB, free: 5.082 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00155/0.4726, allocations: 0.9494 MB / 493.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4727, allocations: 12.03 kB / 493.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.4728, allocations: 110.5 kB / 493.7 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.473, allocations: 94.88 kB / 493.8 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.474, allocations: 0.6187 MB / 494.4 MB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.4741, allocations: 45.31 kB / 494.5 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4742, allocations: 68 kB / 494.5 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.4755, allocations: 0.8803 MB / 495.4 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.4755, allocations: 3.984 kB / 495.4 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.4756, allocations: 32 kB / 495.4 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.4757, allocations: 33.3 kB / 495.5 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.4767, allocations: 0.7079 MB / 496.2 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.4807, allocations: 2.838 MB / 499 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/0.4816, allocations: 0.7134 MB / 499.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.4821, allocations: 326.2 kB / 0.4883 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.4821, allocations: 8.312 kB / 0.4883 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005298/0.4827, allocations: 365.9 kB / 0.4887 GB, free: 12.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.367e-06/0.4827, allocations: 0 / 0.4887 GB, free: 12.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001216/0.4839, allocations: 0.6494 MB / 0.4893 GB, free: 12.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.484, allocations: 110.8 kB / 0.4894 GB, free: 12.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.4847, allocations: 0.5037 MB / 0.4899 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.4848, allocations: 33.7 kB / 0.49 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.4851, allocations: 367.9 kB / 0.4903 GB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.4852, allocations: 130.1 kB / 0.4904 GB, free: 11.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.4852, allocations: 12 kB / 0.4904 GB, free: 11.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4853, allocations: 362.8 kB / 0.4908 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.4856, allocations: 201 kB / 0.491 GB, free: 10.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.486, allocations: 325 kB / 0.4913 GB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.4863, allocations: 231.7 kB / 0.4915 GB, free: 9.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4863, allocations: 8 kB / 0.4915 GB, free: 9.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001011/0.4873, allocations: 0.7005 MB / 0.4922 GB, free: 9.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4874, allocations: 13.56 kB / 0.4922 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4874, allocations: 4 kB / 0.4922 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/0.4879, allocations: 196.2 kB / 0.4924 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.4882, allocations: 75.89 kB / 0.4925 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/0.4912, allocations: 2.679 MB / 0.4951 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.4917, allocations: 51.72 kB / 0.4951 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.4917, allocations: 15.98 kB / 0.4952 GB, free: 6.074 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.4919, allocations: 145.1 kB / 0.4953 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.492, allocations: 55.34 kB / 0.4953 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.4922, allocations: 69.05 kB / 0.4954 GB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4922, allocations: 4 kB / 0.4954 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4922, allocations: 7.953 kB / 0.4954 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.4922, allocations: 3.938 kB / 0.4954 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.4945, allocations: 1.6 MB / 0.497 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4945, allocations: 3.984 kB / 0.497 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.4948, allocations: 47.91 kB / 0.497 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.4952, allocations: 192.9 kB / 0.4972 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.4952, allocations: 8 kB / 0.4972 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.498, allocations: 2.639 MB / 0.4998 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.498, allocations: 3.953 kB / 0.4998 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.4994, allocations: 1.045 MB / 0.5008 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.4997, allocations: 200.3 kB / 0.501 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.4998, allocations: 4 kB / 0.501 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.5001, allocations: 35.97 kB / 0.5011 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5002, allocations: 43.88 kB / 0.5011 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.5002, allocations: 15.98 kB / 0.5011 GB, free: 15.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000495/0.5007, allocations: 413.5 kB / 0.5015 GB, free: 15.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5008, allocations: 0 / 0.5015 GB, free: 15.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007563/0.5015, allocations: 203.3 kB / 0.5017 GB, free: 15.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001795/0.5033, allocations: 1.695 MB / 0.5034 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.5045, allocations: 0.6935 MB / 0.504 GB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5045, allocations: 0 / 0.504 GB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006376/0.5051, allocations: 446.9 kB / 0.5045 GB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.5058, allocations: 136.3 kB / 0.5046 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.5082, allocations: 1.297 MB / 0.5059 GB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.5089, allocations: 1.09 MB / 0.5069 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.5092, allocations: 96.67 kB / 0.507 GB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.5095, allocations: 235.4 kB / 0.5072 GB, free: 9.301 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5095, allocations: 0 / 0.5072 GB, free: 9.301 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.5421, allocations: 14.82 MB / 0.5217 GB, free: 10.81 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.5424, allocations: 232.8 kB / 0.5219 GB, free: 10.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/2.876, allocations: 3.938 kB / 0.5219 GB, free: 10.5 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat