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.001358/0.001358, allocations: 174.8 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.428/1.428, allocations: 221.3 MB / 235.5 MB, free: 2.961 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.0009842/0.0009841, allocations: 92.03 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.849e-05, allocations: 7.984 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09711, allocations: 50.41 MB / 394.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3176/0.4147, allocations: 89.18 MB / 483.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.415, allocations: 87.94 kB / 483.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03745/0.4525, allocations: 14.75 MB / 498.4 MB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4525, allocations: 0 / 498.4 MB, free: 15.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.754e-05/0.4526, allocations: 16 kB / 498.4 MB, free: 15.37 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.00144/0.454, allocations: 0.9047 MB / 499.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4541, allocations: 12.03 kB / 499.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.4542, allocations: 106.5 kB / 499.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.4544, allocations: 94.97 kB / 499.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.4551, allocations: 0.5141 MB / 0.4883 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.4551, allocations: 50 kB / 0.4883 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/0.4552, allocations: 71.95 kB / 0.4884 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.4564, allocations: 0.7273 MB / 0.4891 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.4564, allocations: 15.92 kB / 0.4891 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.4565, allocations: 24 kB / 0.4892 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4565, allocations: 16 kB / 0.4892 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008561/0.4574, allocations: 0.5167 MB / 0.4897 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003502/0.4609, allocations: 2.733 MB / 0.4924 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.4616, allocations: 0.5383 MB / 0.4929 GB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/0.4624, allocations: 398.8 kB / 0.4933 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.4624, allocations: 12.38 kB / 0.4933 GB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.463, allocations: 366.3 kB / 0.4936 GB, free: 8.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.265e-06/0.463, allocations: 0 / 0.4936 GB, free: 8.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.000919/0.4639, allocations: 0.5547 MB / 0.4942 GB, free: 7.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.464, allocations: 141.1 kB / 0.4943 GB, free: 7.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.4645, allocations: 439.8 kB / 0.4947 GB, free: 6.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.4646, allocations: 45.7 kB / 0.4948 GB, free: 6.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.4648, allocations: 324.2 kB / 0.4951 GB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.465, allocations: 185.4 kB / 0.4952 GB, free: 6.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.465, allocations: 16 kB / 0.4953 GB, free: 6.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4651, allocations: 366.8 kB / 0.4956 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.4655, allocations: 205.4 kB / 0.4958 GB, free: 5.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.4659, allocations: 366.9 kB / 0.4962 GB, free: 5.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.4662, allocations: 215.2 kB / 0.4964 GB, free: 5.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.4662, allocations: 3.953 kB / 0.4964 GB, free: 5.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001063/0.4673, allocations: 0.7111 MB / 0.4971 GB, free: 4.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005353/0.4679, allocations: 1.566 MB / 0.4986 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4679, allocations: 8 kB / 0.4986 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/0.4683, allocations: 165.5 kB / 0.4988 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.4687, allocations: 99.83 kB / 0.4988 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.472, allocations: 3.603 MB / 0.5024 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.4725, allocations: 87.56 kB / 0.5025 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.4726, allocations: 27.98 kB / 0.5025 GB, free: 14.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.4726, allocations: 4 kB / 0.5025 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009724/0.4736, allocations: 0.628 MB / 0.5031 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4736, allocations: 4 kB / 0.5031 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.474, allocations: 157.6 kB / 0.5032 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.4743, allocations: 91.83 kB / 0.5033 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.4774, allocations: 3.611 MB / 0.5069 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.4779, allocations: 71.62 kB / 0.5069 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.478, allocations: 39.88 kB / 0.507 GB, free: 9.492 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.4782, allocations: 156.8 kB / 0.5071 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4783, allocations: 59.25 kB / 0.5072 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.4785, allocations: 69.58 kB / 0.5072 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.4785, allocations: 8.125 kB / 0.5072 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4785, allocations: 7.984 kB / 0.5073 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.4785, allocations: 3.984 kB / 0.5073 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.4805, allocations: 1.454 MB / 0.5087 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4806, allocations: 0 / 0.5087 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.4808, allocations: 59.92 kB / 0.5087 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/0.4812, allocations: 145.6 kB / 0.5089 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.4813, allocations: 15.98 kB / 0.5089 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.4846, allocations: 3.506 MB / 0.5123 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4846, allocations: 64 / 0.5123 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.4862, allocations: 0.9755 MB / 0.5133 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.4865, allocations: 196.2 kB / 0.5135 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/0.4865, allocations: 19.98 kB / 0.5135 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.4869, allocations: 51.97 kB / 0.5135 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.4871, allocations: 72.41 kB / 0.5136 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.4871, allocations: 19.98 kB / 0.5136 GB, free: 2.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004215/0.4876, allocations: 337.6 kB / 0.5139 GB, free: 1.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4876, allocations: 4 kB / 0.5139 GB, free: 1.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001175/0.4888, allocations: 343.1 kB / 0.5143 GB, free: 1.621 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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/0.4905, allocations: 1.634 MB / 0.5159 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.4925, allocations: 1.403 MB / 0.5172 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4925, allocations: 0 / 0.5172 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.4932, allocations: 0.5588 MB / 0.5178 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.4937, allocations: 113 kB / 0.5179 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4961, allocations: 1.156 MB / 0.519 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.4967, allocations: 0.9671 MB / 0.52 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000419/0.4971, allocations: 124.8 kB / 0.5201 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.4974, allocations: 231.3 kB / 0.5203 GB, free: 11.26 MB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.4974, allocations: 0 / 0.5203 GB, free: 11.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.5301, allocations: 16.62 MB / 0.5365 GB, free: 10.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.5304, allocations: 236.5 kB / 0.5368 GB, free: 10.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.918, allocations: 0 / 0.5368 GB, free: 10.67 MB / 426.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