Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_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.00152/0.00152, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 97.55 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.552e-05, allocations: 4 kB / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5516, allocations: 89.02 MB / 484.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5519, allocations: 87.75 kB / 484.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03677/0.5887, allocations: 14.41 MB / 498.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5888, allocations: 0 / 498.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.524e-05/0.5888, allocations: 12 kB / 498.8 MB, free: 8.02 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002115/0.591, allocations: 0.9048 MB / 499.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.591, allocations: 8.031 kB / 499.7 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004246/0.5915, allocations: 98.95 kB / 499.8 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/0.5925, allocations: 0.4964 MB / 0.4886 GB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.5925, allocations: 27.97 kB / 0.4886 GB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.5927, allocations: 44 kB / 0.4887 GB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009102/0.5936, allocations: 474.2 kB / 0.4891 GB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5947, allocations: 0.6125 MB / 0.4897 GB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.5947, allocations: 0 / 0.4897 GB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.5948, allocations: 3.984 kB / 0.4897 GB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.5948, allocations: 20 kB / 0.4897 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.5985, allocations: 2.557 MB / 0.4922 GB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.5993, allocations: 0.5096 MB / 0.4927 GB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.5996, allocations: 257.2 kB / 0.493 GB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.5997, allocations: 4.438 kB / 0.493 GB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.6002, allocations: 337.1 kB / 0.4933 GB, free: 2.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.6003, allocations: 0 / 0.4933 GB, free: 2.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008931/0.6012, allocations: 0.4912 MB / 0.4938 GB, free: 2.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.6013, allocations: 148.5 kB / 0.4939 GB, free: 2.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.6018, allocations: 379.2 kB / 0.4943 GB, free: 2.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.6018, allocations: 32.77 kB / 0.4943 GB, free: 2.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.6021, allocations: 328.2 kB / 0.4946 GB, free: 1.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.6023, allocations: 159 kB / 0.4948 GB, free: 1.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.6024, allocations: 4 kB / 0.4948 GB, free: 1.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6025, allocations: 363.9 kB / 0.4951 GB, free: 1.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.6029, allocations: 179.7 kB / 0.4953 GB, free: 1.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.6033, allocations: 337.9 kB / 0.4956 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.6036, allocations: 195 kB / 0.4958 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6036, allocations: 0 / 0.4958 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009534/0.6046, allocations: 0.6157 MB / 0.4964 GB, free: 324 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007801/0.6054, allocations: 1.576 MB / 0.4979 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6054, allocations: 8 kB / 0.498 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.6059, allocations: 150 kB / 0.4981 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.6063, allocations: 87.64 kB / 0.4982 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.6089, allocations: 2.284 MB / 0.5004 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.6094, allocations: 75.59 kB / 0.5005 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.6094, allocations: 26.69 kB / 0.5005 GB, free: 12.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.6094, allocations: 4 kB / 0.5005 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008382/0.6103, allocations: 0.5167 MB / 0.501 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6103, allocations: 4 kB / 0.501 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/0.6107, allocations: 152.9 kB / 0.5012 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.611, allocations: 80.34 kB / 0.5012 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.6135, allocations: 2.281 MB / 0.5035 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.6139, allocations: 63.56 kB / 0.5035 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.614, allocations: 23.95 kB / 0.5036 GB, free: 9.227 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: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.6142, allocations: 142 kB / 0.5037 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007953/0.615, allocations: 0.4915 MB / 0.5042 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6151, allocations: 55.44 kB / 0.5042 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.6153, allocations: 65.66 kB / 0.5043 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6153, allocations: 4 kB / 0.5043 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6153, allocations: 3.953 kB / 0.5043 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.6153, allocations: 3.984 kB / 0.5043 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.6172, allocations: 1.238 MB / 0.5055 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.6173, allocations: 11.89 kB / 0.5055 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.6175, allocations: 43.92 kB / 0.5056 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/0.6179, allocations: 140.3 kB / 0.5057 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.618, allocations: 7.984 kB / 0.5057 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.6205, allocations: 2.165 MB / 0.5078 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6205, allocations: 0 / 0.5078 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.6217, allocations: 0.8547 MB / 0.5086 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.622, allocations: 180.4 kB / 0.5088 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.6221, allocations: 11.98 kB / 0.5088 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.6225, allocations: 35.97 kB / 0.5089 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.6227, allocations: 76.45 kB / 0.5089 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.6227, allocations: 15.98 kB / 0.509 GB, free: 3.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003522/0.6231, allocations: 283 kB / 0.5092 GB, free: 3.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6231, allocations: 0 / 0.5092 GB, free: 3.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001157/0.6243, allocations: 319 kB / 0.5095 GB, free: 2.891 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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001709/0.626, allocations: 1.433 MB / 0.5109 GB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.628, allocations: 1.13 MB / 0.512 GB, free: 292 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.628, allocations: 4 kB / 0.512 GB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.6286, allocations: 417.4 kB / 0.5124 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.6292, allocations: 82.94 kB / 0.5125 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.6317, allocations: 1.012 MB / 0.5135 GB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.6323, allocations: 0.959 MB / 0.5144 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000441/0.6328, allocations: 112.2 kB / 0.5145 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.6331, allocations: 231.3 kB / 0.5148 GB, free: 13.42 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6331, allocations: 0 / 0.5148 GB, free: 13.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04506/0.6781, allocations: 14.66 MB / 0.5291 GB, free: 14.97 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.6784, allocations: 196.8 kB / 0.5293 GB, free: 14.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.015, allocations: 7.969 kB / 0.5293 GB, free: 14.78 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat