Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.00155/0.00155, allocations: 196.9 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009165/0.0009165, allocations: 86.41 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.391e-05/7.401e-05, allocations: 4 kB / 350.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4063/0.5478, allocations: 89.53 MB / 491.7 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.5482, allocations: 91.03 kB / 491.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03716/0.5854, allocations: 13.89 MB / 0.4938 GB, free: 3.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5854, allocations: 0 / 0.4938 GB, free: 3.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.714e-05/0.5855, allocations: 12 kB / 0.4938 GB, free: 3.648 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.001485/0.5869, allocations: 0.8672 MB / 0.4946 GB, free: 2.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.587, allocations: 12.03 kB / 0.4947 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.5871, allocations: 103.2 kB / 0.4948 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.5875, allocations: 118.5 kB / 0.4949 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/0.5882, allocations: 486 kB / 0.4953 GB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.5883, allocations: 45.31 kB / 0.4954 GB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/0.5884, allocations: 64 kB / 0.4954 GB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.5895, allocations: 0.6427 MB / 0.4961 GB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.5895, allocations: 4 kB / 0.4961 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.5896, allocations: 27.98 kB / 0.4961 GB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.5896, allocations: 21.64 kB / 0.4961 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.5903, allocations: 453.1 kB / 0.4966 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.5938, allocations: 2.382 MB / 0.4989 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.5945, allocations: 427 kB / 0.4993 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/0.595, allocations: 252.8 kB / 0.4995 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.5951, allocations: 4 kB / 0.4995 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004844/0.5956, allocations: 309.1 kB / 0.4998 GB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.534e-06/0.5956, allocations: 0 / 0.4998 GB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0008193/0.5964, allocations: 460.3 kB / 0.5003 GB, free: 12.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.5965, allocations: 170.6 kB / 0.5004 GB, free: 12.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.597, allocations: 427.8 kB / 0.5008 GB, free: 12.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.5971, allocations: 41.7 kB / 0.5009 GB, free: 12.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.5973, allocations: 320.2 kB / 0.5012 GB, free: 11.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.5974, allocations: 150 kB / 0.5013 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.5975, allocations: 12 kB / 0.5013 GB, free: 11.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5976, allocations: 368.6 kB / 0.5017 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.5979, allocations: 161.1 kB / 0.5018 GB, free: 11.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.5983, allocations: 328 kB / 0.5022 GB, free: 10.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.5986, allocations: 181.5 kB / 0.5023 GB, free: 10.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5986, allocations: 4 kB / 0.5023 GB, free: 10.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008534/0.5995, allocations: 0.574 MB / 0.5029 GB, free: 9.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006365/0.6001, allocations: 1.669 MB / 0.5045 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.6001, allocations: 4 kB / 0.5045 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.6005, allocations: 79.17 kB / 0.5046 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.6008, allocations: 95.83 kB / 0.5047 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.6026, allocations: 1.737 MB / 0.5064 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.603, allocations: 91.55 kB / 0.5065 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.6031, allocations: 20 kB / 0.5065 GB, free: 5.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.6031, allocations: 4 kB / 0.5065 GB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007766/0.6039, allocations: 0.4988 MB / 0.507 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6039, allocations: 4 kB / 0.507 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.6041, allocations: 80.83 kB / 0.5071 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.6044, allocations: 89.11 kB / 0.5071 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.6059, allocations: 1.736 MB / 0.5088 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.6063, allocations: 71.59 kB / 0.5089 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.6064, allocations: 20 kB / 0.5089 GB, free: 3.332 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.0001738/0.6066, allocations: 160 kB / 0.5091 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.6066, allocations: 55.39 kB / 0.5091 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.6068, allocations: 65.27 kB / 0.5092 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.6068, allocations: 9.312 kB / 0.5092 GB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6068, allocations: 4.062 kB / 0.5092 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.6068, allocations: 0 / 0.5092 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.6086, allocations: 1.319 MB / 0.5105 GB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6087, allocations: 3.938 kB / 0.5105 GB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.6089, allocations: 51.91 kB / 0.5106 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.6091, allocations: 68.83 kB / 0.5106 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.6092, allocations: 11.98 kB / 0.5106 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.6106, allocations: 1.652 MB / 0.5122 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6106, allocations: 0 / 0.5122 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.6118, allocations: 0.7869 MB / 0.513 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.612, allocations: 176.4 kB / 0.5132 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.6121, allocations: 20.7 kB / 0.5132 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.6124, allocations: 47.97 kB / 0.5132 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.6126, allocations: 48.36 kB / 0.5133 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.6126, allocations: 19.98 kB / 0.5133 GB, free: 14.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004078/0.613, allocations: 329.6 kB / 0.5136 GB, free: 14.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.613, allocations: 0 / 0.5136 GB, free: 14.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008933/0.6139, allocations: 299 kB / 0.5139 GB, free: 13.98 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.00161/0.6156, allocations: 1.44 MB / 0.5153 GB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.617, allocations: 0.9644 MB / 0.5163 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.617, allocations: 4 kB / 0.5163 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.6175, allocations: 345 kB / 0.5166 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.618, allocations: 93.23 kB / 0.5167 GB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.62, allocations: 1.03 MB / 0.5177 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.6206, allocations: 0.9427 MB / 0.5186 GB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.621, allocations: 128.5 kB / 0.5187 GB, free: 8.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.6213, allocations: 215.4 kB / 0.5189 GB, free: 8.695 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6213, allocations: 0 / 0.5189 GB, free: 8.695 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.6498, allocations: 13.3 MB / 0.5319 GB, free: 11.77 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.65, allocations: 247.2 kB / 0.5322 GB, free: 11.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.043, allocations: 3.953 kB / 0.5322 GB, free: 11.45 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat