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_R.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_R,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008954/0.0008952, allocations: 86.36 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.793e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07836/0.07839, allocations: 47.59 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2924/0.3708, allocations: 86.67 MB / 449.9 MB, free: 8.754 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.3711, allocations: 84.64 kB / 449.9 MB, free: 8.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03189/0.403, allocations: 12.53 MB / 462.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.403, allocations: 0 / 462.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.68e-05/0.4031, allocations: 12 kB / 462.5 MB, free: 14.28 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001461/0.4046, allocations: 0.8235 MB / 463.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4046, allocations: 12.03 kB / 463.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.4048, allocations: 75.06 kB / 463.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.4056, allocations: 480 kB / 463.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.4056, allocations: 19.98 kB / 463.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.4057, allocations: 36 kB / 463.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006357/0.4063, allocations: 380.9 kB / 464.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.4071, allocations: 0.5131 MB / 464.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4072, allocations: 3.938 kB / 464.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.4072, allocations: 4 kB / 464.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.4072, allocations: 12 kB / 464.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.4103, allocations: 2.096 MB / 466.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/0.411, allocations: 427.8 kB / 467.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.4114, allocations: 221.8 kB / 467.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.4115, allocations: 4.328 kB / 467.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/0.4119, allocations: 274 kB / 467.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 2.265e-06/0.4119, allocations: 0 / 467.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006239/0.4125, allocations: 388.2 kB / 468.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/0.4126, allocations: 140.5 kB / 468.3 MB, free: 9.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.4129, allocations: 353.1 kB / 468.7 MB, free: 9.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.413, allocations: 33.69 kB / 468.7 MB, free: 9.027 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.4132, allocations: 300.5 kB / 469 MB, free: 8.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.4133, allocations: 132.1 kB / 469.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.4133, allocations: 4.031 kB / 469.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4134, allocations: 358 kB / 469.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.4136, allocations: 135.1 kB / 469.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.4139, allocations: 290.4 kB / 469.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.4141, allocations: 146.1 kB / 470 MB, free: 7.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4142, allocations: 4 kB / 470 MB, free: 7.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006615/0.4148, allocations: 489.6 kB / 470.5 MB, free: 7.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005177/0.4153, allocations: 1.655 MB / 472.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4154, allocations: 4 kB / 472.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.4157, allocations: 103.1 kB / 472.3 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.416, allocations: 87.14 kB / 472.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.4177, allocations: 1.796 MB / 474.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.4181, allocations: 79.56 kB / 474.2 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.4182, allocations: 19.31 kB / 474.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.4182, allocations: 4 kB / 474.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005836/0.4188, allocations: 405.6 kB / 474.7 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4188, allocations: 4 kB / 474.7 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.419, allocations: 86.25 kB / 474.8 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.4193, allocations: 75.56 kB / 474.8 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.4208, allocations: 1.798 MB / 476.6 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.4211, allocations: 56.03 kB / 476.7 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.4212, allocations: 23.67 kB / 476.7 MB, free: 1.648 MB / 346.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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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.0001607/0.4213, allocations: 143.7 kB / 476.8 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005435/0.4219, allocations: 383.4 kB / 477.2 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.422, allocations: 51.38 kB / 477.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.4221, allocations: 50.33 kB / 477.3 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4221, allocations: 4 kB / 477.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.4221, allocations: 0 / 477.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4221, allocations: 7.984 kB / 477.3 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.4235, allocations: 1.094 MB / 478.4 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4235, allocations: 0 / 478.4 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.4237, allocations: 39.92 kB / 478.5 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.424, allocations: 84.48 kB / 478.5 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.424, allocations: 11.86 kB / 478.6 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.4255, allocations: 1.694 MB / 480.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4256, allocations: 0 / 480.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.4264, allocations: 0.692 MB / 480.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.4267, allocations: 161.6 kB / 481.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.4267, allocations: 4 kB / 481.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.4271, allocations: 39.95 kB / 481.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4272, allocations: 50.61 kB / 481.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.4272, allocations: 15.81 kB / 481.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002701/0.4275, allocations: 263.2 kB / 481.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4275, allocations: 288 / 481.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008908/0.4284, allocations: 255.1 kB / 481.7 MB, free: 13.32 MB / 362.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,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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.001195/0.4296, allocations: 1.318 MB / 483 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.4309, allocations: 0.8647 MB / 483.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4309, allocations: 0 / 483.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.4313, allocations: 333.9 kB / 484.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.4317, allocations: 68.09 kB / 484.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.4333, allocations: 0.8304 MB / 485.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4338, allocations: 0.9165 MB / 486 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.4342, allocations: 108.5 kB / 486.1 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4344, allocations: 202.8 kB / 486.3 MB, free: 9.219 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4344, allocations: 4 kB / 486.3 MB, free: 9.215 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.4695, allocations: 11.3 MB / 497.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.4698, allocations: 199.9 kB / 497.8 MB, free: 13.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.699, allocations: 0 / 497.8 MB, free: 13.65 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R_res.mat does not exist to compare? outputFormat=mat