Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.0008802, allocations: 94.59 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 4 kB / 328.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2431, allocations: 47.58 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09901/0.3422, allocations: 87.46 MB / 463.4 MB, free: 9.172 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.3425, allocations: 91.95 kB / 463.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03296/0.3754, allocations: 12.99 MB / 476.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3755, allocations: 0 / 476.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.54e-05/0.3755, allocations: 15.98 kB / 476.5 MB, free: 12.02 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001699/0.3772, allocations: 0.9072 MB / 477.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.3773, allocations: 12.03 kB / 477.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.3775, allocations: 102.5 kB / 477.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.3776, allocations: 83.02 kB / 477.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.3784, allocations: 482 kB / 478.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.3784, allocations: 45.31 kB / 478.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.771e-05/0.3785, allocations: 63.94 kB / 478.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3795, allocations: 0.6379 MB / 478.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.3796, allocations: 7.906 kB / 478.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.3796, allocations: 20 kB / 478.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.3797, allocations: 16 kB / 478.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008341/0.3805, allocations: 496.9 kB / 479.3 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/0.3836, allocations: 2.287 MB / 481.6 MB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.3844, allocations: 479.5 kB / 482.1 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.3845, allocations: 4.469 kB / 482.1 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.385, allocations: 312.1 kB / 482.4 MB, free: 5.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.454e-06/0.385, allocations: 0 / 482.4 MB, free: 5.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001523/0.3865, allocations: 0.7442 MB / 483.1 MB, free: 5.062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.3866, allocations: 110.8 kB / 483.2 MB, free: 4.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.3872, allocations: 424.9 kB / 483.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.3872, allocations: 45.7 kB / 483.7 MB, free: 4.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.3874, allocations: 300.4 kB / 484 MB, free: 4.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3876, allocations: 146 kB / 484.1 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.3876, allocations: 12 kB / 484.2 MB, free: 4.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3878, allocations: 366.7 kB / 484.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.3881, allocations: 181 kB / 484.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.3885, allocations: 331.2 kB / 485 MB, free: 3.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.3889, allocations: 192.7 kB / 485.2 MB, free: 2.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3889, allocations: 4 kB / 485.2 MB, free: 2.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009757/0.3899, allocations: 0.6017 MB / 485.8 MB, free: 2.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000603/0.3905, allocations: 1.574 MB / 487.4 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3905, allocations: 4 kB / 487.4 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.3908, allocations: 72.83 kB / 487.5 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.3911, allocations: 87.83 kB / 487.5 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.3929, allocations: 1.808 MB / 489.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.3933, allocations: 83.55 kB / 489.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.3934, allocations: 24.06 kB / 489.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.3934, allocations: 4 kB / 489.5 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007827/0.3942, allocations: 0.4953 MB / 490 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3942, allocations: 4 kB / 490 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.3944, allocations: 84.81 kB / 490 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.3947, allocations: 83.83 kB / 490.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.3963, allocations: 1.796 MB / 491.9 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.3966, allocations: 71.55 kB / 492 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3967, allocations: 20.5 kB / 492 MB, free: 11.67 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (60): * Single equations (assignments): 59 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003692/0.3971, allocations: 317.3 kB / 492.3 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.3971, allocations: 55.39 kB / 492.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.3973, allocations: 57.11 kB / 492.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3973, allocations: 4 kB / 492.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3973, allocations: 0 / 492.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3973, allocations: 3.984 kB / 492.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.3989, allocations: 1.168 MB / 493.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3989, allocations: 0 / 493.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.3991, allocations: 43.92 kB / 493.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.3993, allocations: 76.75 kB / 493.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.3994, allocations: 15.98 kB / 493.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.4009, allocations: 1.796 MB / 495.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.401, allocations: 0 / 495.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.4021, allocations: 0.751 MB / 496.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.4023, allocations: 172.3 kB / 496.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.4024, allocations: 15.94 kB / 496.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.4027, allocations: 43.97 kB / 496.5 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.4029, allocations: 47.92 kB / 496.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.4029, allocations: 19.98 kB / 496.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003907/0.4033, allocations: 323.1 kB / 496.9 MB, free: 6.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4033, allocations: 4 kB / 496.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008726/0.4042, allocations: 287.1 kB / 497.2 MB, free: 6.258 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: 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (38): * Single equations (assignments): 32 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.4057, allocations: 1.333 MB / 498.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.4072, allocations: 0.9792 MB / 499.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4072, allocations: 3.984 kB / 499.5 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.4077, allocations: 355.4 kB / 499.8 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.4082, allocations: 93.25 kB / 499.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.175/0.5832, allocations: 4.397 MB / 0.4925 GB, free: 105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.5838, allocations: 0.9286 MB / 0.4934 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.5843, allocations: 85.64 kB / 0.4935 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.5846, allocations: 220.6 kB / 0.4937 GB, free: 104.3 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5846, allocations: 0 / 0.4937 GB, free: 104.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.6099, allocations: 12.05 MB / 0.5055 GB, free: 103 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.6101, allocations: 276.3 kB / 0.5057 GB, free: 102.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.741, allocations: 0 / 0.5057 GB, free: 102.6 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat