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.001623/0.001623, allocations: 196.4 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008863/0.0008861, allocations: 91.56 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.649e-05, allocations: 4 kB / 350.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 51.49 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4498, allocations: 89.67 MB / 491.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.4501, allocations: 81.64 kB / 491.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03794/0.488, allocations: 14.55 MB / 0.4946 GB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4881, allocations: 0 / 0.4946 GB, free: 2.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.152e-05/0.4882, allocations: 16 kB / 0.4946 GB, free: 2.805 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.002631/0.4908, allocations: 0.8969 MB / 0.4955 GB, free: 1.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4909, allocations: 8.031 kB / 0.4955 GB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/0.4911, allocations: 106.5 kB / 0.4956 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.4916, allocations: 98.95 kB / 0.4957 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.4929, allocations: 0.5071 MB / 0.4962 GB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/0.493, allocations: 49.31 kB / 0.4962 GB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.4932, allocations: 71.94 kB / 0.4963 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.4952, allocations: 0.6991 MB / 0.497 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.4952, allocations: 7.922 kB / 0.497 GB, free: 244 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.4954, allocations: 32 kB / 0.497 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.4954, allocations: 16 kB / 0.497 GB, free: 196 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.497, allocations: 0.5011 MB / 0.4975 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006548/0.5036, allocations: 2.7 MB / 0.5001 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.5052, allocations: 0.5427 MB / 0.5007 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.5062, allocations: 322.5 kB / 0.501 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.5063, allocations: 4.438 kB / 0.501 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.5074, allocations: 354.7 kB / 0.5013 GB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 4.999e-06/0.5074, allocations: 288 / 0.5013 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.001736/0.5091, allocations: 0.5382 MB / 0.5018 GB, free: 11.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.5093, allocations: 145.1 kB / 0.502 GB, free: 10.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.5105, allocations: 435.9 kB / 0.5024 GB, free: 10.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.5106, allocations: 45.7 kB / 0.5024 GB, free: 10.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.5111, allocations: 320.3 kB / 0.5028 GB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.5114, allocations: 173.5 kB / 0.5029 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.5115, allocations: 16 kB / 0.5029 GB, free: 9.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.5117, allocations: 374.7 kB / 0.5033 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/0.5124, allocations: 185.5 kB / 0.5035 GB, free: 9.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008327/0.5132, allocations: 357.1 kB / 0.5038 GB, free: 8.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006931/0.5139, allocations: 207.2 kB / 0.504 GB, free: 8.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.514, allocations: 8 kB / 0.504 GB, free: 8.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002154/0.5161, allocations: 0.6746 MB / 0.5047 GB, free: 8.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009199/0.5171, allocations: 1.569 MB / 0.5062 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.5171, allocations: 4 kB / 0.5062 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008817/0.518, allocations: 152.8 kB / 0.5064 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.5187, allocations: 95.83 kB / 0.5064 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004841/0.5235, allocations: 2.344 MB / 0.5087 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.5246, allocations: 91.53 kB / 0.5088 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.5247, allocations: 28 kB / 0.5088 GB, free: 3.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5247, allocations: 4 kB / 0.5089 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00177/0.5265, allocations: 0.5877 MB / 0.5094 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.5266, allocations: 4 kB / 0.5094 GB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007728/0.5273, allocations: 167.1 kB / 0.5096 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.5279, allocations: 87.83 kB / 0.5097 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.5324, allocations: 2.338 MB / 0.512 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/0.5334, allocations: 67.7 kB / 0.512 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.5335, allocations: 31.98 kB / 0.512 GB, free: 120 kB / 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.0003943/0.5339, allocations: 152.9 kB / 0.5122 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.5342, allocations: 67.33 kB / 0.5123 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.5345, allocations: 73.66 kB / 0.5123 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.5345, allocations: 4 kB / 0.5123 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5345, allocations: 3.828 kB / 0.5123 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.5346, allocations: 3.984 kB / 0.5123 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/0.5387, allocations: 1.391 MB / 0.5137 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.5387, allocations: 4 kB / 0.5137 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.5391, allocations: 47.91 kB / 0.5137 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007443/0.5399, allocations: 144.7 kB / 0.5139 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.54, allocations: 8.656 kB / 0.5139 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004476/0.5445, allocations: 2.249 MB / 0.5161 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5445, allocations: 0 / 0.5161 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.547, allocations: 0.924 MB / 0.517 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.5475, allocations: 192.3 kB / 0.5172 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.5477, allocations: 12 kB / 0.5172 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/0.5485, allocations: 51.91 kB / 0.5172 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.5488, allocations: 74.7 kB / 0.5173 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.5489, allocations: 20.17 kB / 0.5173 GB, free: 10.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008074/0.5497, allocations: 337.6 kB / 0.5177 GB, free: 10.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5497, allocations: 0 / 0.5177 GB, free: 10.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001912/0.5516, allocations: 347.1 kB / 0.518 GB, free: 9.785 MB / 394.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: 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.002979/0.5546, allocations: 1.575 MB / 0.5195 GB, free: 8.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.5579, allocations: 1.194 MB / 0.5207 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5579, allocations: 8.125 kB / 0.5207 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.559, allocations: 457.4 kB / 0.5211 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009563/0.56, allocations: 109.3 kB / 0.5212 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.5639, allocations: 1.078 MB / 0.5223 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008353/0.5647, allocations: 0.9557 MB / 0.5232 GB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00087/0.5656, allocations: 128.8 kB / 0.5233 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.5661, allocations: 227.4 kB / 0.5236 GB, free: 3.941 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5661, allocations: 0 / 0.5236 GB, free: 3.941 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05634/0.6225, allocations: 16.47 MB / 0.5396 GB, free: 3.902 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/0.6229, allocations: 230.8 kB / 0.5399 GB, free: 3.594 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.072, allocations: 2.344 kB / 0.5399 GB, free: 3.594 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