Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_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.001074/0.001074, allocations: 180.7 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.281/1.281, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009366/0.0009366, allocations: 99.08 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 8 kB / 351.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2057, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.3071, allocations: 89.25 MB / 490.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.3074, allocations: 91.94 kB / 490.9 MB, free: 7.094 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03764/0.3451, allocations: 14.76 MB / 0.4938 GB, free: 8.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3451, allocations: 0 / 0.4938 GB, free: 8.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.405e-05/0.3451, allocations: 16 kB / 0.4939 GB, free: 8.234 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001843/0.347, allocations: 0.9855 MB / 0.4948 GB, free: 7.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.347, allocations: 15.97 kB / 0.4948 GB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.3472, allocations: 110.5 kB / 0.4949 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.3474, allocations: 94.86 kB / 0.495 GB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.3483, allocations: 0.4986 MB / 0.4955 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.3483, allocations: 57.98 kB / 0.4956 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.3484, allocations: 79.89 kB / 0.4957 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3497, allocations: 0.7545 MB / 0.4964 GB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3497, allocations: 4 kB / 0.4964 GB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.3498, allocations: 32 kB / 0.4964 GB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3498, allocations: 16 kB / 0.4964 GB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3508, allocations: 0.5634 MB / 0.497 GB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.3547, allocations: 2.737 MB / 0.4997 GB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.3555, allocations: 0.5605 MB / 0.5002 GB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.3556, allocations: 4.438 kB / 0.5002 GB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/0.3562, allocations: 370.1 kB / 0.5006 GB, free: 1.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.094e-06/0.3562, allocations: 0 / 0.5006 GB, free: 1.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.002031/0.3582, allocations: 1.015 MB / 0.5016 GB, free: 24 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1651/0.5233, allocations: 138.2 kB / 0.5017 GB, free: 95.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009596/0.5243, allocations: 454.5 kB / 0.5021 GB, free: 95.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.5245, allocations: 44.7 kB / 0.5022 GB, free: 95.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.5248, allocations: 327.5 kB / 0.5025 GB, free: 95.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.525, allocations: 176.9 kB / 0.5026 GB, free: 95.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.525, allocations: 15.88 kB / 0.5027 GB, free: 95.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5251, allocations: 368.2 kB / 0.503 GB, free: 94.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.5256, allocations: 220 kB / 0.5032 GB, free: 94.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.5261, allocations: 385.1 kB / 0.5036 GB, free: 94.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.5266, allocations: 238.5 kB / 0.5038 GB, free: 94.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5266, allocations: 3.781 kB / 0.5038 GB, free: 94.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00128/0.5279, allocations: 0.7328 MB / 0.5045 GB, free: 94.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002764/0.5282, allocations: 1.577 MB / 0.5061 GB, free: 92.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5282, allocations: 4.094 kB / 0.5061 GB, free: 92.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004553/0.5286, allocations: 147.6 kB / 0.5062 GB, free: 92.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.529, allocations: 102.4 kB / 0.5063 GB, free: 92.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.5319, allocations: 3.478 MB / 0.5097 GB, free: 90.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.5324, allocations: 92.2 kB / 0.5098 GB, free: 90.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.5325, allocations: 31.41 kB / 0.5098 GB, free: 90.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5325, allocations: 7.156 kB / 0.5098 GB, free: 90.24 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/0.5337, allocations: 0.6301 MB / 0.5105 GB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5337, allocations: 7.312 kB / 0.5105 GB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/0.5341, allocations: 145.9 kB / 0.5106 GB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.5344, allocations: 92.73 kB / 0.5107 GB, free: 90.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.5367, allocations: 3.482 MB / 0.5141 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.5372, allocations: 73.7 kB / 0.5142 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.5372, allocations: 29 kB / 0.5142 GB, free: 87.29 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: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003854/0.5376, allocations: 320.6 kB / 0.5145 GB, free: 87.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.5377, allocations: 68.95 kB / 0.5146 GB, free: 87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.5379, allocations: 69.16 kB / 0.5146 GB, free: 86.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5379, allocations: 5.469 kB / 0.5146 GB, free: 86.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5379, allocations: 6.125 kB / 0.5146 GB, free: 86.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5379, allocations: 7.016 kB / 0.5146 GB, free: 86.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.5398, allocations: 1.45 MB / 0.5161 GB, free: 86.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5398, allocations: 0 / 0.5161 GB, free: 86.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.5401, allocations: 59.47 kB / 0.5161 GB, free: 86.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.5404, allocations: 132.1 kB / 0.5162 GB, free: 86.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.5405, allocations: 15.16 kB / 0.5163 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.5428, allocations: 3.32 MB / 0.5195 GB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5429, allocations: 3.328 kB / 0.5195 GB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.5442, allocations: 0.984 MB / 0.5205 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.5445, allocations: 195.9 kB / 0.5206 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5446, allocations: 15.72 kB / 0.5207 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.545, allocations: 48.36 kB / 0.5207 GB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.5452, allocations: 74.62 kB / 0.5208 GB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.5452, allocations: 25.23 kB / 0.5208 GB, free: 82.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000381/0.5456, allocations: 348.3 kB / 0.5211 GB, free: 82.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5456, allocations: 0 / 0.5211 GB, free: 82.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00115/0.5468, allocations: 345.5 kB / 0.5215 GB, free: 82.17 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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/0.5483, allocations: 1.571 MB / 0.523 GB, free: 81.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.5501, allocations: 1.412 MB / 0.5244 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5501, allocations: 4.062 kB / 0.5244 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005248/0.5506, allocations: 0.5414 MB / 0.5249 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.5511, allocations: 110 kB / 0.525 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.5546, allocations: 4.687 MB / 0.5296 GB, free: 75.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.5551, allocations: 0.963 MB / 0.5305 GB, free: 75.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000374/0.5554, allocations: 99.75 kB / 0.5306 GB, free: 75.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.5558, allocations: 240 kB / 0.5309 GB, free: 75 MB / 378.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5558, allocations: 0 / 0.5309 GB, free: 75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.588, allocations: 15.58 MB / 0.5461 GB, free: 64.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.5882, allocations: 262.4 kB / 0.5463 GB, free: 63.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.881, allocations: 7.938 kB / 0.5463 GB, free: 63.98 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat