Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008523/0.0008524, allocations: 103.6 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002154/0.0002153, allocations: 4 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1843, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09682/0.2811, allocations: 89.26 MB / 498.8 MB, free: 1.328 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.2814, allocations: 88.45 kB / 498.9 MB, free: 1.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03557/0.317, allocations: 13.57 MB / 0.5004 GB, free: 3.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.317, allocations: 0 / 0.5004 GB, free: 3.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.541e-05/0.3171, allocations: 19.98 kB / 0.5004 GB, free: 3.594 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001665/0.3187, allocations: 0.9261 MB / 0.5013 GB, free: 2.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3188, allocations: 16.03 kB / 0.5014 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.3189, allocations: 98.52 kB / 0.5015 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.3193, allocations: 103 kB / 0.5016 GB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.32, allocations: 485.9 kB / 0.502 GB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.3201, allocations: 45.31 kB / 0.5021 GB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.3202, allocations: 63.94 kB / 0.5021 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.3214, allocations: 0.6544 MB / 0.5028 GB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3215, allocations: 3.906 kB / 0.5028 GB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.3215, allocations: 28 kB / 0.5028 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.3216, allocations: 16 kB / 0.5028 GB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3226, allocations: 0.4969 MB / 0.5033 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1607/0.4833, allocations: 2.301 MB / 0.5055 GB, free: 90.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/0.4841, allocations: 430 kB / 0.5059 GB, free: 90.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.4842, allocations: 5.922 kB / 0.506 GB, free: 90.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.4848, allocations: 319.8 kB / 0.5063 GB, free: 90.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.275e-06/0.4848, allocations: 2.344 kB / 0.5063 GB, free: 90.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001796/0.4866, allocations: 0.7683 MB / 0.507 GB, free: 90.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.4867, allocations: 145.2 kB / 0.5071 GB, free: 89.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.4873, allocations: 436.5 kB / 0.5076 GB, free: 89.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.4873, allocations: 44.91 kB / 0.5076 GB, free: 89.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.4876, allocations: 307.4 kB / 0.5079 GB, free: 89.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.4877, allocations: 141.1 kB / 0.508 GB, free: 89.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.4877, allocations: 12.67 kB / 0.508 GB, free: 89.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4878, allocations: 362.7 kB / 0.5084 GB, free: 89.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.4882, allocations: 188.6 kB / 0.5086 GB, free: 89.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.4886, allocations: 340.8 kB / 0.5089 GB, free: 89.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.4891, allocations: 207.7 kB / 0.5091 GB, free: 89.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4891, allocations: 2.047 kB / 0.5091 GB, free: 89.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001246/0.4904, allocations: 0.6204 MB / 0.5097 GB, free: 89.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003569/0.4908, allocations: 1.574 MB / 0.5112 GB, free: 87.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.4908, allocations: 5.031 kB / 0.5112 GB, free: 87.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.4912, allocations: 85.44 kB / 0.5113 GB, free: 87.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.4917, allocations: 89.47 kB / 0.5114 GB, free: 87.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.4937, allocations: 1.852 MB / 0.5132 GB, free: 85.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.4942, allocations: 88.91 kB / 0.5133 GB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.4943, allocations: 21 kB / 0.5133 GB, free: 85.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.4943, allocations: 2.969 kB / 0.5133 GB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007966/0.4951, allocations: 0.5084 MB / 0.5138 GB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4951, allocations: 6.688 kB / 0.5138 GB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.4953, allocations: 90.97 kB / 0.5139 GB, free: 85.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.4956, allocations: 80.66 kB / 0.514 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.497, allocations: 1.855 MB / 0.5158 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.4974, allocations: 68.27 kB / 0.5159 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.4974, allocations: 24.31 kB / 0.5159 GB, free: 84.06 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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004083/0.4978, allocations: 310.8 kB / 0.5162 GB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.498, allocations: 57.95 kB / 0.5162 GB, free: 83.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.4981, allocations: 56.39 kB / 0.5163 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4981, allocations: 3.844 kB / 0.5163 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4981, allocations: 0 / 0.5163 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.4981, allocations: 3.703 kB / 0.5163 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.5001, allocations: 1.214 MB / 0.5175 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5001, allocations: 0 / 0.5175 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.5003, allocations: 53.38 kB / 0.5175 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.5005, allocations: 74.41 kB / 0.5176 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.5006, allocations: 11.38 kB / 0.5176 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.5019, allocations: 1.777 MB / 0.5194 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5019, allocations: 2.266 kB / 0.5194 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.503, allocations: 0.7781 MB / 0.5201 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.5032, allocations: 172 kB / 0.5203 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.5033, allocations: 19.39 kB / 0.5203 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.5036, allocations: 45.88 kB / 0.5203 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5038, allocations: 54.44 kB / 0.5204 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.5038, allocations: 12.67 kB / 0.5204 GB, free: 80.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004091/0.5042, allocations: 341.5 kB / 0.5207 GB, free: 80.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5042, allocations: 0 / 0.5207 GB, free: 80.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009428/0.5052, allocations: 285.8 kB / 0.521 GB, free: 80.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.5065, allocations: 1.375 MB / 0.5224 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.508, allocations: 1.013 MB / 0.5233 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.508, allocations: 2.938 kB / 0.5233 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.5085, allocations: 376 kB / 0.5237 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.509, allocations: 86.58 kB / 0.5238 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.5117, allocations: 4.366 MB / 0.5281 GB, free: 75.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.5121, allocations: 0.9285 MB / 0.529 GB, free: 74.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.5125, allocations: 98.84 kB / 0.5291 GB, free: 74.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5127, allocations: 222.3 kB / 0.5293 GB, free: 74.28 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5127, allocations: 0 / 0.5293 GB, free: 74.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.5374, allocations: 12.6 MB / 0.5416 GB, free: 66.52 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.5376, allocations: 275.3 kB / 0.5418 GB, free: 66.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.646, allocations: 3.938 kB / 0.5418 GB, free: 66.16 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat