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.001142/0.001142, allocations: 176.4 kB / 8.349 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.383/1.383, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0008971/0.0008972, allocations: 90.97 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.174e-05, allocations: 4 kB / 337.2 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 50.42 MB / 387.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/0.4262, allocations: 88.03 MB / 475.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.4266, allocations: 83.95 kB / 475.7 MB, free: 6.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03646/0.4631, allocations: 13.66 MB / 489.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4631, allocations: 0 / 489.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.284e-05/0.4632, allocations: 12 kB / 489.4 MB, free: 8.844 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001454/0.4647, allocations: 0.857 MB / 490.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4647, allocations: 8.031 kB / 490.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.4649, allocations: 79.06 kB / 490.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.4656, allocations: 496 kB / 490.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.4656, allocations: 24 kB / 490.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.4657, allocations: 40 kB / 490.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007437/0.4665, allocations: 422.5 kB / 491.3 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/0.4674, allocations: 0.5542 MB / 491.8 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4674, allocations: 3.906 kB / 491.8 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.4675, allocations: 3.984 kB / 491.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.4675, allocations: 16 kB / 491.8 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.4707, allocations: 2.249 MB / 494.1 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.4713, allocations: 405.1 kB / 494.5 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.4718, allocations: 241.7 kB / 494.7 MB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.4718, allocations: 4 kB / 494.7 MB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.4723, allocations: 295.5 kB / 495 MB, free: 2.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.4723, allocations: 0 / 495 MB, free: 2.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007648/0.4731, allocations: 416.3 kB / 495.4 MB, free: 2.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/0.4732, allocations: 170.6 kB / 495.6 MB, free: 2.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.4736, allocations: 365.1 kB / 495.9 MB, free: 1.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.4737, allocations: 33.64 kB / 496 MB, free: 1.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.4739, allocations: 324.1 kB / 496.3 MB, free: 1.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.474, allocations: 138.1 kB / 496.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.474, allocations: 0 / 496.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4742, allocations: 358.8 kB / 496.8 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.4745, allocations: 153 kB / 496.9 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.4748, allocations: 316.3 kB / 497.2 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.4751, allocations: 168.7 kB / 497.4 MB, free: 412 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4751, allocations: 0 / 497.4 MB, free: 412 kB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007718/0.4759, allocations: 0.516 MB / 497.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007229/0.4766, allocations: 1.657 MB / 499.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4766, allocations: 4 kB / 499.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.477, allocations: 84.77 kB / 499.7 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.4773, allocations: 95.88 kB / 499.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.4792, allocations: 1.69 MB / 0.4897 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.4799, allocations: 83.55 kB / 0.4898 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.48, allocations: 20 kB / 0.4898 GB, free: 12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.48, allocations: 5.25 kB / 0.4898 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009748/0.481, allocations: 434.9 kB / 0.4902 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.481, allocations: 7.984 kB / 0.4902 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.4813, allocations: 76.83 kB / 0.4903 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.4817, allocations: 88.36 kB / 0.4904 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.4837, allocations: 1.698 MB / 0.492 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.4843, allocations: 63.52 kB / 0.4921 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.4843, allocations: 27.92 kB / 0.4921 GB, free: 9.488 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 (63): * Single equations (assignments): 62 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.4846, allocations: 136.1 kB / 0.4922 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009227/0.4855, allocations: 412.3 kB / 0.4926 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4856, allocations: 51.44 kB / 0.4927 GB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.4858, allocations: 56.95 kB / 0.4927 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4858, allocations: 7.953 kB / 0.4928 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.4858, allocations: 0 / 0.4928 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4859, allocations: 0 / 0.4928 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.4883, allocations: 1.183 MB / 0.4939 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.4883, allocations: 0 / 0.4939 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.4887, allocations: 55.91 kB / 0.494 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.4891, allocations: 72.84 kB / 0.494 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.4891, allocations: 7.984 kB / 0.494 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.4912, allocations: 1.592 MB / 0.4956 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.4912, allocations: 0 / 0.4956 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.4929, allocations: 0.7635 MB / 0.4963 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.4932, allocations: 168.4 kB / 0.4965 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4934, allocations: 8 kB / 0.4965 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.4939, allocations: 31.97 kB / 0.4965 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.4941, allocations: 56.36 kB / 0.4966 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/0.4942, allocations: 15.98 kB / 0.4966 GB, free: 4.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004925/0.4947, allocations: 271 kB / 0.4969 GB, free: 4.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4947, allocations: 0 / 0.4969 GB, free: 4.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001544/0.4963, allocations: 271 kB / 0.4971 GB, free: 4.125 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002145/0.4984, allocations: 1.395 MB / 0.4985 GB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.5004, allocations: 0.8939 MB / 0.4994 GB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.5005, allocations: 80 / 0.4994 GB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.5011, allocations: 335.2 kB / 0.4997 GB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.5017, allocations: 74.84 kB / 0.4997 GB, free: 1.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.5048, allocations: 0.97 MB / 0.5007 GB, free: 372 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.5055, allocations: 0.9304 MB / 0.5016 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006292/0.5061, allocations: 120.3 kB / 0.5017 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.5065, allocations: 215.4 kB / 0.5019 GB, free: 15.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5065, allocations: 0 / 0.5019 GB, free: 15.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.5509, allocations: 11.66 MB / 0.5133 GB, free: 3.539 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/0.5513, allocations: 207.4 kB / 0.5135 GB, free: 3.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.72, allocations: 0 / 0.5135 GB, free: 3.25 MB / 394.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