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_R.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_R,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008051/0.0008051, allocations: 93.94 kB / 281.2 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/1.998e-05, allocations: 4 kB / 337.2 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09106/0.0911, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3235/0.4146, allocations: 87.71 MB / 475.3 MB, free: 7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4149, allocations: 83.94 kB / 475.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03453/0.4495, allocations: 13.3 MB / 488.7 MB, free: 9.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4495, allocations: 7.984 kB / 488.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.866e-05/0.4496, allocations: 12 kB / 488.7 MB, free: 9.543 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001434/0.451, allocations: 0.8461 MB / 489.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4511, allocations: 8.031 kB / 489.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.4512, allocations: 75.16 kB / 489.6 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.4519, allocations: 476.2 kB / 490.1 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.452, allocations: 24 kB / 490.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/0.452, allocations: 47.84 kB / 490.1 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000716/0.4528, allocations: 414.5 kB / 490.6 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009017/0.4537, allocations: 0.5426 MB / 491.1 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4537, allocations: 4 kB / 491.1 MB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.4538, allocations: 0 / 491.1 MB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.4538, allocations: 16 kB / 491.1 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.4571, allocations: 2.168 MB / 493.3 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.4578, allocations: 379.1 kB / 493.7 MB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.4582, allocations: 233.9 kB / 493.9 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.4583, allocations: 12 kB / 493.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/0.4588, allocations: 304.1 kB / 494.2 MB, free: 3.785 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.376e-06/0.4589, allocations: 0 / 494.2 MB, free: 3.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008204/0.4597, allocations: 410.1 kB / 494.6 MB, free: 3.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.4598, allocations: 170.2 kB / 494.8 MB, free: 3.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.4603, allocations: 361.1 kB / 495.1 MB, free: 2.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.4603, allocations: 33.69 kB / 495.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.4606, allocations: 312.2 kB / 495.4 MB, free: 2.465 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4608, allocations: 130.2 kB / 495.6 MB, free: 2.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.4608, allocations: 0 / 495.6 MB, free: 2.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.461, allocations: 358.8 kB / 495.9 MB, free: 1.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.4612, allocations: 149.1 kB / 496.1 MB, free: 1.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.4617, allocations: 307.8 kB / 496.4 MB, free: 1.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.4619, allocations: 163.7 kB / 496.5 MB, free: 1.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.462, allocations: 4 kB / 496.5 MB, free: 1.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008267/0.4628, allocations: 0.4971 MB / 497 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006721/0.4635, allocations: 1.66 MB / 498.7 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4635, allocations: 4 kB / 498.7 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000377/0.4639, allocations: 88.84 kB / 498.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.4642, allocations: 87.89 kB / 498.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.4664, allocations: 1.803 MB / 0.4889 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.4669, allocations: 75.7 kB / 0.489 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.4669, allocations: 20 kB / 0.489 GB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4669, allocations: 7.953 kB / 0.489 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007222/0.4677, allocations: 432.4 kB / 0.4894 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4677, allocations: 4 kB / 0.4895 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.4679, allocations: 92.7 kB / 0.4895 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.4682, allocations: 83.83 kB / 0.4896 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.4702, allocations: 1.8 MB / 0.4914 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.4706, allocations: 55.66 kB / 0.4914 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.4707, allocations: 20 kB / 0.4914 GB, free: 10.2 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 (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.0002094/0.4709, allocations: 152 kB / 0.4916 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006723/0.4716, allocations: 401.9 kB / 0.492 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.4716, allocations: 47.44 kB / 0.492 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.4718, allocations: 52.97 kB / 0.4921 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4718, allocations: 4 kB / 0.4921 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.4718, allocations: 0 / 0.4921 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4718, allocations: 3.984 kB / 0.4921 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.4736, allocations: 1.155 MB / 0.4932 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4736, allocations: 4 kB / 0.4932 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.4738, allocations: 47.91 kB / 0.4933 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.4741, allocations: 80.78 kB / 0.4933 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.4741, allocations: 11.95 kB / 0.4933 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.4759, allocations: 1.693 MB / 0.495 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4759, allocations: 0 / 0.495 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.477, allocations: 0.7377 MB / 0.4957 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.4772, allocations: 160.4 kB / 0.4959 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.4773, allocations: 7.984 kB / 0.4959 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.4776, allocations: 35.97 kB / 0.4959 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.4778, allocations: 55.92 kB / 0.496 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.4778, allocations: 11.98 kB / 0.496 GB, free: 5.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003307/0.4781, allocations: 271 kB / 0.4962 GB, free: 5.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4781, allocations: 0 / 0.4962 GB, free: 5.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009701/0.4791, allocations: 263 kB / 0.4965 GB, free: 4.797 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * 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.001471/0.4806, allocations: 1.361 MB / 0.4978 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.4821, allocations: 0.9048 MB / 0.4987 GB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4822, allocations: 0 / 0.4987 GB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.4826, allocations: 337.9 kB / 0.499 GB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.4831, allocations: 72.38 kB / 0.4991 GB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.4851, allocations: 0.8838 MB / 0.5 GB, free: 1.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.4856, allocations: 0.9304 MB / 0.5009 GB, free: 192 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006626/0.4863, allocations: 120.5 kB / 0.501 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.4867, allocations: 211.4 kB / 0.5012 GB, free: 15.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.4868, allocations: 0 / 0.5012 GB, free: 15.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.5228, allocations: 11.68 MB / 0.5126 GB, free: 4.301 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/0.5231, allocations: 200 kB / 0.5128 GB, free: 4.035 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.782, allocations: 3.938 kB / 0.5128 GB, free: 4.031 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R_res.mat does not exist to compare? outputFormat=mat