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.001539/0.001539, allocations: 180 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.469/1.469, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008877/0.0008878, allocations: 92.17 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002598, allocations: 12 kB / 328.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2242, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09844/0.3227, allocations: 87.17 MB / 463.1 MB, free: 9.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.323, allocations: 91.94 kB / 463.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03205/0.3551, allocations: 12.67 MB / 475.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3551, allocations: 0 / 475.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.693e-05/0.3552, allocations: 12 kB / 475.9 MB, free: 12.64 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001553/0.3567, allocations: 0.8985 MB / 476.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.3568, allocations: 12.03 kB / 476.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.3569, allocations: 94.52 kB / 476.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.3571, allocations: 75.16 kB / 476.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.3578, allocations: 466 kB / 477.4 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.3579, allocations: 49.31 kB / 477.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.3579, allocations: 59.98 kB / 477.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.359, allocations: 0.6223 MB / 478.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.359, allocations: 3.906 kB / 478.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.3591, allocations: 28 kB / 478.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3591, allocations: 12 kB / 478.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008324/0.36, allocations: 476.9 kB / 478.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.363, allocations: 2.218 MB / 480.8 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/0.3638, allocations: 465.7 kB / 481.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3638, allocations: 8.266 kB / 481.3 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.3643, allocations: 309.1 kB / 481.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/0.3644, allocations: 0 / 481.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001546/0.3659, allocations: 0.7262 MB / 482.3 MB, free: 5.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.366, allocations: 119.2 kB / 482.5 MB, free: 5.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.3665, allocations: 417 kB / 482.9 MB, free: 5.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.3665, allocations: 41.69 kB / 482.9 MB, free: 5.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3667, allocations: 304.4 kB / 483.2 MB, free: 4.969 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.3668, allocations: 130.2 kB / 483.3 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.3669, allocations: 12 kB / 483.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.367, allocations: 362.8 kB / 483.7 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.3673, allocations: 177 kB / 483.9 MB, free: 4.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.3677, allocations: 318.8 kB / 484.2 MB, free: 3.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.3681, allocations: 200.2 kB / 484.4 MB, free: 3.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3681, allocations: 4 kB / 484.4 MB, free: 3.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000963/0.3691, allocations: 0.5837 MB / 485 MB, free: 3.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005192/0.3696, allocations: 1.576 MB / 486.5 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3696, allocations: 8 kB / 486.5 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.3699, allocations: 84.81 kB / 486.6 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.3703, allocations: 83.88 kB / 486.7 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.3721, allocations: 1.858 MB / 488.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.3726, allocations: 83.55 kB / 488.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.3726, allocations: 23.98 kB / 488.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.3726, allocations: 4.062 kB / 488.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007881/0.3734, allocations: 488.8 kB / 489.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3734, allocations: 4 kB / 489.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.3737, allocations: 92.73 kB / 489.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3739, allocations: 71.84 kB / 489.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.3756, allocations: 1.857 MB / 491.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.376, allocations: 67.56 kB / 491.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.376, allocations: 20 kB / 491.3 MB, free: 12.43 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 (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.0004025/0.3764, allocations: 305 kB / 491.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.3765, allocations: 51.38 kB / 491.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.3766, allocations: 61.03 kB / 491.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3766, allocations: 4 kB / 491.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3766, allocations: 7.953 kB / 491.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3766, allocations: 3.984 kB / 491.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.3782, allocations: 1.151 MB / 492.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3782, allocations: 4 kB / 492.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.3785, allocations: 39.97 kB / 492.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.3787, allocations: 84.75 kB / 493 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.3787, allocations: 8 kB / 493 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.3803, allocations: 1.766 MB / 494.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3803, allocations: 4.016 kB / 494.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3814, allocations: 0.7437 MB / 495.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.3816, allocations: 172.4 kB / 495.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.3817, allocations: 4 kB / 495.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.382, allocations: 51.92 kB / 495.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.3821, allocations: 52 kB / 495.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3821, allocations: 15.98 kB / 495.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003714/0.3825, allocations: 327.1 kB / 496.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3825, allocations: 0 / 496.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008793/0.3834, allocations: 279.2 kB / 496.4 MB, free: 7.078 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,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 (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.001386/0.3848, allocations: 1.318 MB / 497.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.3864, allocations: 0.9793 MB / 498.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3864, allocations: 8.938 kB / 498.7 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.3869, allocations: 354.4 kB / 499 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.3873, allocations: 81.23 kB / 499.1 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.17/0.5573, allocations: 4.276 MB / 0.4916 GB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.558, allocations: 0.9187 MB / 0.4925 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005456/0.5586, allocations: 84.36 kB / 0.4925 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.559, allocations: 214.6 kB / 0.4928 GB, free: 106.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.559, allocations: 0 / 0.4928 GB, free: 106.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.5871, allocations: 12.05 MB / 0.5045 GB, free: 104.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.5874, allocations: 262.9 kB / 0.5048 GB, free: 104.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.675, allocations: 0 / 0.5048 GB, free: 104.3 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