Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",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.001063/0.001063, allocations: 175.1 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.303/1.303, allocations: 221.4 MB / 235.5 MB, free: 2.879 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.0008561/0.000856, allocations: 102 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.29e-05, allocations: 0 / 343.9 MB, free: 4.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 50.42 MB / 394.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.4204, allocations: 88.7 MB / 483.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4206, allocations: 85.66 kB / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03551/0.4562, allocations: 13.78 MB / 496.9 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4562, allocations: 0 / 496.9 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.877e-05/0.4563, allocations: 12 kB / 496.9 MB, free: 0.7695 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001475/0.4577, allocations: 0.8531 MB / 497.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4578, allocations: 8.031 kB / 497.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.4579, allocations: 106.5 kB / 497.9 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.4581, allocations: 83.05 kB / 498 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.4588, allocations: 497.8 kB / 498.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.4589, allocations: 45.31 kB / 498.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/0.459, allocations: 64 kB / 498.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.4601, allocations: 0.6389 MB / 499.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.4601, allocations: 11.84 kB / 499.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.4602, allocations: 24 kB / 499.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.4602, allocations: 16 kB / 499.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/0.4609, allocations: 457.1 kB / 499.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.4644, allocations: 2.376 MB / 0.4903 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/0.4651, allocations: 423.6 kB / 0.4907 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/0.4656, allocations: 248.8 kB / 0.491 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.4657, allocations: 11.98 kB / 0.491 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.4662, allocations: 304.7 kB / 0.4913 GB, free: 10.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.537e-06/0.4662, allocations: 4 kB / 0.4913 GB, free: 10.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.000862/0.4671, allocations: 448.3 kB / 0.4917 GB, free: 9.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4672, allocations: 170.6 kB / 0.4919 GB, free: 9.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.4678, allocations: 415 kB / 0.4923 GB, free: 9.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.4678, allocations: 41.7 kB / 0.4923 GB, free: 9.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.4681, allocations: 316.3 kB / 0.4926 GB, free: 8.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.4682, allocations: 150 kB / 0.4927 GB, free: 8.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.4682, allocations: 12 kB / 0.4927 GB, free: 8.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4684, allocations: 370.7 kB / 0.4931 GB, free: 8.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.4687, allocations: 165.1 kB / 0.4933 GB, free: 8.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.4691, allocations: 321.5 kB / 0.4936 GB, free: 7.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.4694, allocations: 181.5 kB / 0.4937 GB, free: 7.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4694, allocations: 4 kB / 0.4937 GB, free: 7.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000906/0.4703, allocations: 0.5667 MB / 0.4943 GB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000713/0.471, allocations: 1.657 MB / 0.4959 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.4711, allocations: 8 kB / 0.4959 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/0.4714, allocations: 80.86 kB / 0.496 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.4718, allocations: 95.83 kB / 0.4961 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.4736, allocations: 1.737 MB / 0.4978 GB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.4742, allocations: 91.61 kB / 0.4979 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.4742, allocations: 20 kB / 0.4979 GB, free: 3.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4742, allocations: 5.406 kB / 0.4979 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008/0.475, allocations: 0.4949 MB / 0.4984 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4751, allocations: 4 kB / 0.4984 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.4753, allocations: 76.83 kB / 0.4985 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.4756, allocations: 96.36 kB / 0.4986 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.4772, allocations: 1.745 MB / 0.5003 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.4777, allocations: 63.66 kB / 0.5003 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.4778, allocations: 24 kB / 0.5003 GB, free: 0.5195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.478, allocations: 160 kB / 0.5005 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.4781, allocations: 55.3 kB / 0.5005 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.4783, allocations: 61.23 kB / 0.5006 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4783, allocations: 4 kB / 0.5006 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4783, allocations: 3.984 kB / 0.5006 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4783, allocations: 0 / 0.5006 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.4803, allocations: 1.315 MB / 0.5019 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4803, allocations: 0 / 0.5019 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.4806, allocations: 55.91 kB / 0.5019 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.4808, allocations: 68.83 kB / 0.502 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.4808, allocations: 16.02 kB / 0.502 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.4824, allocations: 1.648 MB / 0.5036 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.4824, allocations: 3.938 kB / 0.5036 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4836, allocations: 0.7946 MB / 0.5044 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.4838, allocations: 172.4 kB / 0.5046 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.4839, allocations: 16.09 kB / 0.5046 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.4842, allocations: 43.95 kB / 0.5046 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.4844, allocations: 52.34 kB / 0.5047 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.4844, allocations: 16 kB / 0.5047 GB, free: 11.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003713/0.4848, allocations: 325.2 kB / 0.505 GB, free: 11.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4848, allocations: 0 / 0.505 GB, free: 11.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009056/0.4857, allocations: 303 kB / 0.5053 GB, free: 11.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.4872, allocations: 1.434 MB / 0.5067 GB, free: 9.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.4887, allocations: 0.9568 MB / 0.5076 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4887, allocations: 0 / 0.5076 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.4892, allocations: 360.9 kB / 0.508 GB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.4898, allocations: 88.53 kB / 0.5081 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.4919, allocations: 1.025 MB / 0.5091 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.4924, allocations: 0.9309 MB / 0.51 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005085/0.493, allocations: 128.5 kB / 0.5101 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.4933, allocations: 211.4 kB / 0.5103 GB, free: 5.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4933, allocations: 0 / 0.5103 GB, free: 5.906 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.5238, allocations: 13.14 MB / 0.5231 GB, free: 9.098 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.5241, allocations: 235.7 kB / 0.5234 GB, free: 8.793 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/2.977, allocations: 0 / 0.5234 GB, free: 8.793 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat