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_RL.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_RL,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 181.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 88.31 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003413, allocations: 4 kB / 351.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.4273, allocations: 88.77 MB / 490.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/0.4277, allocations: 83.95 kB / 490.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04368/0.4715, allocations: 13.79 MB / 0.4924 GB, free: 9.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4715, allocations: 4 kB / 0.4924 GB, free: 9.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.052e-05/0.4715, allocations: 16 kB / 0.4924 GB, free: 9.711 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001788/0.4733, allocations: 0.9272 MB / 0.4933 GB, free: 8.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4734, allocations: 8.031 kB / 0.4934 GB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.4735, allocations: 114.5 kB / 0.4935 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.4737, allocations: 79.06 kB / 0.4935 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.4746, allocations: 489.9 kB / 0.494 GB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.4746, allocations: 57.3 kB / 0.4941 GB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.4747, allocations: 60 kB / 0.4941 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.4759, allocations: 0.6739 MB / 0.4948 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.476, allocations: 3.906 kB / 0.4948 GB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.476, allocations: 31.98 kB / 0.4948 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.4761, allocations: 16 kB / 0.4948 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009751/0.477, allocations: 0.5087 MB / 0.4953 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/0.4807, allocations: 2.364 MB / 0.4976 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.4814, allocations: 454 kB / 0.4981 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.4814, allocations: 4 kB / 0.4981 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.482, allocations: 331.8 kB / 0.4984 GB, free: 3.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.482, allocations: 0 / 0.4984 GB, free: 3.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.00168/0.4837, allocations: 0.7664 MB / 0.4991 GB, free: 2.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.4838, allocations: 141 kB / 0.4993 GB, free: 2.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.4843, allocations: 436.8 kB / 0.4997 GB, free: 1.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.4844, allocations: 41.7 kB / 0.4997 GB, free: 1.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.4846, allocations: 320.3 kB / 0.5 GB, free: 1.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.4848, allocations: 146 kB / 0.5002 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.4848, allocations: 11.94 kB / 0.5002 GB, free: 1.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.485, allocations: 366.7 kB / 0.5005 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.4853, allocations: 189 kB / 0.5007 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.4858, allocations: 352.5 kB / 0.501 GB, free: 488 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.4862, allocations: 204.7 kB / 0.5012 GB, free: 280 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.4862, allocations: 0 / 0.5012 GB, free: 280 kB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.1575/0.6437, allocations: 0.6197 MB / 0.5018 GB, free: 95.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003111/0.644, allocations: 1.573 MB / 0.5034 GB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.6441, allocations: 3.906 kB / 0.5034 GB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.6444, allocations: 81.36 kB / 0.5035 GB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.6449, allocations: 99.77 kB / 0.5036 GB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.6469, allocations: 1.793 MB / 0.5053 GB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/0.6475, allocations: 89.27 kB / 0.5054 GB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.6475, allocations: 26.56 kB / 0.5054 GB, free: 92.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6476, allocations: 6.625 kB / 0.5054 GB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009295/0.6485, allocations: 0.5205 MB / 0.5059 GB, free: 92.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6485, allocations: 6.094 kB / 0.5059 GB, free: 92.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.6487, allocations: 76.72 kB / 0.506 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.6491, allocations: 93.86 kB / 0.5061 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.6506, allocations: 1.798 MB / 0.5079 GB, free: 91.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.6511, allocations: 76.02 kB / 0.5079 GB, free: 91.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.6512, allocations: 19.91 kB / 0.508 GB, free: 91.08 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 (62): * Single equations (assignments): 61 * 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.0005166/0.6517, allocations: 312.2 kB / 0.5082 GB, free: 90.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.6519, allocations: 57.14 kB / 0.5083 GB, free: 90.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.652, allocations: 59.53 kB / 0.5084 GB, free: 90.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6521, allocations: 7.469 kB / 0.5084 GB, free: 90.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6521, allocations: 0 / 0.5084 GB, free: 90.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6521, allocations: 3.781 kB / 0.5084 GB, free: 90.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.6548, allocations: 1.223 MB / 0.5096 GB, free: 90.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6548, allocations: 6.625 kB / 0.5096 GB, free: 90.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.6551, allocations: 55.44 kB / 0.5096 GB, free: 90.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/0.6554, allocations: 77.59 kB / 0.5097 GB, free: 90.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.6554, allocations: 7.562 kB / 0.5097 GB, free: 90.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.6569, allocations: 1.797 MB / 0.5115 GB, free: 89.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6569, allocations: 9.312 kB / 0.5115 GB, free: 89.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.658, allocations: 0.8002 MB / 0.5122 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.6583, allocations: 175.6 kB / 0.5124 GB, free: 88.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.6584, allocations: 13.97 kB / 0.5124 GB, free: 88.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.6587, allocations: 40.16 kB / 0.5125 GB, free: 88.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6588, allocations: 59.48 kB / 0.5125 GB, free: 88.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.6589, allocations: 18.41 kB / 0.5125 GB, free: 88.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003672/0.6592, allocations: 334 kB / 0.5129 GB, free: 88.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6593, allocations: 0 / 0.5129 GB, free: 88.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009906/0.6602, allocations: 298.3 kB / 0.5131 GB, free: 88.64 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_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 (40): * Single equations (assignments): 34 * 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.00123/0.6615, allocations: 1.376 MB / 0.5145 GB, free: 87.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.6631, allocations: 1.011 MB / 0.5155 GB, free: 87.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6631, allocations: 0 / 0.5155 GB, free: 87.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.6635, allocations: 374.8 kB / 0.5158 GB, free: 87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.664, allocations: 92.03 kB / 0.5159 GB, free: 86.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.6672, allocations: 4.478 MB / 0.5203 GB, free: 83.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.6677, allocations: 0.9414 MB / 0.5212 GB, free: 82.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003296/0.668, allocations: 97.64 kB / 0.5213 GB, free: 82.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.6683, allocations: 221 kB / 0.5215 GB, free: 82.19 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6683, allocations: 0 / 0.5215 GB, free: 82.19 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.6926, allocations: 12.46 MB / 0.5337 GB, free: 76.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.6928, allocations: 269 kB / 0.5339 GB, free: 76.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.96, allocations: 0 / 0.5339 GB, free: 76.38 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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_RL_res.mat does not exist to compare? outputFormat=mat