Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001201/0.001201, allocations: 198.9 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 95.23 kB / 286.7 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.079e-05, allocations: 4 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4553, allocations: 88.53 MB / 483.8 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.4557, allocations: 84.94 kB / 483.9 MB, free: 4.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03363/0.4893, allocations: 13.42 MB / 497.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4894, allocations: 0 / 497.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-05/0.4894, allocations: 20 kB / 497.3 MB, free: 9.262 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001673/0.4911, allocations: 0.8496 MB / 498.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.4912, allocations: 8.031 kB / 498.2 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.4916, allocations: 107.9 kB / 498.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.4924, allocations: 489.7 kB / 498.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.4925, allocations: 23.98 kB / 498.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.4926, allocations: 39.31 kB / 498.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007417/0.4933, allocations: 405.9 kB / 499.2 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.4943, allocations: 0.547 MB / 499.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.4943, allocations: 1.688 kB / 499.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.4944, allocations: 4 kB / 499.8 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.4944, allocations: 16 kB / 499.8 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.4976, allocations: 2.178 MB / 0.4902 GB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.4983, allocations: 385.3 kB / 0.4906 GB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.4987, allocations: 226.5 kB / 0.4908 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.4987, allocations: 7.094 kB / 0.4908 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.4992, allocations: 296.1 kB / 0.4911 GB, free: 4.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.524e-06/0.4993, allocations: 0 / 0.4911 GB, free: 4.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007195/0.5, allocations: 412.8 kB / 0.4915 GB, free: 4.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.5001, allocations: 170.1 kB / 0.4916 GB, free: 4.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.5005, allocations: 371.4 kB / 0.492 GB, free: 3.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.5006, allocations: 32.95 kB / 0.492 GB, free: 3.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.5008, allocations: 313.8 kB / 0.4923 GB, free: 3.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5009, allocations: 137.3 kB / 0.4925 GB, free: 3.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.5009, allocations: 1.594 kB / 0.4925 GB, free: 3.473 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5011, allocations: 361.5 kB / 0.4928 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.5013, allocations: 146.5 kB / 0.4929 GB, free: 3.047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.5016, allocations: 304.7 kB / 0.4932 GB, free: 2.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.5019, allocations: 172.9 kB / 0.4934 GB, free: 2.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5019, allocations: 3.953 kB / 0.4934 GB, free: 2.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007386/0.5026, allocations: 0.5035 MB / 0.4939 GB, free: 2.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000701/0.5033, allocations: 1.654 MB / 0.4955 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.5033, allocations: 4 kB / 0.4955 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.5037, allocations: 91.52 kB / 0.4956 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.504, allocations: 87.64 kB / 0.4957 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.5059, allocations: 1.806 MB / 0.4974 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.5064, allocations: 67.64 kB / 0.4975 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.5064, allocations: 23.19 kB / 0.4975 GB, free: 14.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.5064, allocations: 8 kB / 0.4975 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006722/0.5071, allocations: 423.8 kB / 0.4979 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5071, allocations: 4 kB / 0.498 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.5073, allocations: 98.5 kB / 0.498 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.5076, allocations: 75.27 kB / 0.4981 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.5093, allocations: 1.797 MB / 0.4999 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.5097, allocations: 67.58 kB / 0.4999 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.5098, allocations: 19.12 kB / 0.5 GB, free: 12.36 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 (58): * Single equations (assignments): 57 * 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.000197/0.51, allocations: 135.5 kB / 0.5001 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006343/0.5106, allocations: 407.9 kB / 0.5005 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/0.5107, allocations: 55.36 kB / 0.5005 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.5109, allocations: 50.33 kB / 0.5006 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5109, allocations: 7.953 kB / 0.5006 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5109, allocations: 4 kB / 0.5006 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5109, allocations: 7.984 kB / 0.5006 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.5124, allocations: 1.157 MB / 0.5017 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5124, allocations: 0 / 0.5017 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.5127, allocations: 47.47 kB / 0.5018 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.5129, allocations: 80.62 kB / 0.5018 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.5129, allocations: 7.375 kB / 0.5019 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.5145, allocations: 1.693 MB / 0.5035 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5145, allocations: 0 / 0.5035 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.5155, allocations: 0.7258 MB / 0.5042 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.5157, allocations: 164.5 kB / 0.5044 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.5158, allocations: 11.98 kB / 0.5044 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.5161, allocations: 32.06 kB / 0.5044 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5163, allocations: 59.84 kB / 0.5045 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.5163, allocations: 15.98 kB / 0.5045 GB, free: 8.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003064/0.5166, allocations: 282.9 kB / 0.5048 GB, free: 7.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5166, allocations: 0 / 0.5048 GB, free: 7.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001101/0.5177, allocations: 263.1 kB / 0.505 GB, free: 7.48 MB / 378.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_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 (37): * Single equations (assignments): 31 * 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.001491/0.5192, allocations: 1.371 MB / 0.5063 GB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.5208, allocations: 0.9012 MB / 0.5072 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5208, allocations: 0 / 0.5072 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.5212, allocations: 337.4 kB / 0.5075 GB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.5217, allocations: 85.19 kB / 0.5076 GB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.5237, allocations: 0.8951 MB / 0.5085 GB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.5242, allocations: 0.9304 MB / 0.5094 GB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004095/0.5246, allocations: 116.1 kB / 0.5095 GB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.5249, allocations: 215.4 kB / 0.5097 GB, free: 2.527 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5249, allocations: 0 / 0.5097 GB, free: 2.527 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.56, allocations: 11.84 MB / 0.5213 GB, free: 6.848 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.5603, allocations: 216.6 kB / 0.5215 GB, free: 6.566 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/2.976, allocations: 3.938 kB / 0.5215 GB, free: 6.562 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat