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_RLV.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_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",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.001558/0.001558, allocations: 180.1 kB / 16.38 MB, free: 5.766 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.283/1.283, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.0008864, allocations: 102.1 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002811, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2119, allocations: 50.41 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3179, allocations: 89.05 MB / 490.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.3182, allocations: 95.92 kB / 490.7 MB, free: 7.301 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03514/0.3533, allocations: 14.07 MB / 0.493 GB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3534, allocations: 3.938 kB / 0.493 GB, free: 9.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.626e-05/0.3534, allocations: 12 kB / 0.493 GB, free: 9.145 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001768/0.3552, allocations: 0.9586 MB / 0.4939 GB, free: 8.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3552, allocations: 8.031 kB / 0.4939 GB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.3554, allocations: 106.5 kB / 0.4941 GB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3555, allocations: 86.97 kB / 0.4941 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007251/0.3563, allocations: 0.4904 MB / 0.4946 GB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.3563, allocations: 49.31 kB / 0.4947 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.3564, allocations: 64 kB / 0.4947 GB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.3575, allocations: 0.6934 MB / 0.4954 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3576, allocations: 4 kB / 0.4954 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.3576, allocations: 27.98 kB / 0.4954 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3576, allocations: 16 kB / 0.4954 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.3586, allocations: 0.5165 MB / 0.4959 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.3619, allocations: 2.419 MB / 0.4983 GB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/0.3627, allocations: 462.1 kB / 0.4988 GB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.3627, allocations: 4 kB / 0.4988 GB, free: 3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.3632, allocations: 331.8 kB / 0.4991 GB, free: 2.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.3632, allocations: 0 / 0.4991 GB, free: 2.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001566/0.3648, allocations: 0.7819 MB / 0.4998 GB, free: 1.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.3649, allocations: 137 kB / 0.5 GB, free: 1.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.3654, allocations: 449 kB / 0.5004 GB, free: 1.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.3655, allocations: 37.7 kB / 0.5004 GB, free: 1.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3657, allocations: 324.3 kB / 0.5007 GB, free: 0.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3658, allocations: 153.9 kB / 0.5009 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.3658, allocations: 8 kB / 0.5009 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.366, allocations: 370.7 kB / 0.5012 GB, free: 352 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.3663, allocations: 197.1 kB / 0.5014 GB, free: 156 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1851/0.5515, allocations: 341.4 kB / 0.5018 GB, free: 95.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.5521, allocations: 211.6 kB / 0.502 GB, free: 95.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.5521, allocations: 1.281 kB / 0.502 GB, free: 95.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001381/0.5535, allocations: 0.6291 MB / 0.5026 GB, free: 95.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.5538, allocations: 1.579 MB / 0.5041 GB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.5538, allocations: 4.094 kB / 0.5041 GB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.5542, allocations: 77.56 kB / 0.5042 GB, free: 93.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.5546, allocations: 108.4 kB / 0.5043 GB, free: 93.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.5563, allocations: 1.788 MB / 0.506 GB, free: 92.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.5568, allocations: 93.98 kB / 0.5061 GB, free: 92.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.5569, allocations: 29.7 kB / 0.5062 GB, free: 92.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.5569, allocations: 3.469 kB / 0.5062 GB, free: 92.33 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009116/0.5578, allocations: 0.5258 MB / 0.5067 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5579, allocations: 4.672 kB / 0.5067 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.5581, allocations: 81.73 kB / 0.5068 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.5585, allocations: 92.17 kB / 0.5069 GB, free: 92.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.5601, allocations: 1.79 MB / 0.5086 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.5606, allocations: 78.09 kB / 0.5087 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.5606, allocations: 25.97 kB / 0.5087 GB, free: 90.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Number of clocked 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.5611, allocations: 309.4 kB / 0.509 GB, free: 90.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5612, allocations: 65.67 kB / 0.5091 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.5613, allocations: 60.66 kB / 0.5091 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5613, allocations: 9.141 kB / 0.5091 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5614, allocations: 0 / 0.5091 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5614, allocations: 3.656 kB / 0.5091 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.5632, allocations: 1.243 MB / 0.5103 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5632, allocations: 0 / 0.5103 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.5634, allocations: 54.97 kB / 0.5104 GB, free: 90.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.5636, allocations: 79.36 kB / 0.5105 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.5637, allocations: 8.438 kB / 0.5105 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.5649, allocations: 1.799 MB / 0.5122 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.565, allocations: 3.938 kB / 0.5122 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.566, allocations: 0.8065 MB / 0.513 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.5662, allocations: 175.3 kB / 0.5132 GB, free: 88.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/0.5663, allocations: 15.12 kB / 0.5132 GB, free: 88.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.5667, allocations: 48.31 kB / 0.5133 GB, free: 88.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.5668, allocations: 54.61 kB / 0.5133 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.5668, allocations: 15.44 kB / 0.5133 GB, free: 88.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003632/0.5672, allocations: 348.8 kB / 0.5137 GB, free: 88.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5672, allocations: 0 / 0.5137 GB, free: 88.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000963/0.5682, allocations: 300.7 kB / 0.5139 GB, free: 88.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/0.5699, allocations: 1.4 MB / 0.5153 GB, free: 87.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.5717, allocations: 1.014 MB / 0.5163 GB, free: 86.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5718, allocations: 2.891 kB / 0.5163 GB, free: 86.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.5722, allocations: 381.5 kB / 0.5167 GB, free: 86.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.5726, allocations: 87.55 kB / 0.5167 GB, free: 86.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.5754, allocations: 4.515 MB / 0.5212 GB, free: 82.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.5758, allocations: 0.9447 MB / 0.5221 GB, free: 81.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.5761, allocations: 96.53 kB / 0.5222 GB, free: 81.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.5763, allocations: 229.2 kB / 0.5224 GB, free: 81.77 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.5763, allocations: 0 / 0.5224 GB, free: 81.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.6013, allocations: 12.67 MB / 0.5348 GB, free: 75.86 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.6015, allocations: 267.2 kB / 0.535 GB, free: 75.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.954, allocations: 2.812 kB / 0.535 GB, free: 75.5 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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_RLV_res.mat does not exist to compare? outputFormat=mat