Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008877/0.0008878, allocations: 89.97 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.313e-05, allocations: 4 kB / 350.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 51.49 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4433, allocations: 89.75 MB / 491.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4436, allocations: 86.58 kB / 492 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03194/0.4756, allocations: 11.55 MB / 0.4917 GB, free: 5.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4756, allocations: 0 / 0.4917 GB, free: 5.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.835e-05/0.4757, allocations: 19.98 kB / 0.4917 GB, free: 5.715 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002/0.4777, allocations: 0.9031 MB / 0.4926 GB, free: 4.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4778, allocations: 8.031 kB / 0.4926 GB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.478, allocations: 110.5 kB / 0.4927 GB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.4783, allocations: 95.05 kB / 0.4928 GB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008551/0.4791, allocations: 0.4949 MB / 0.4933 GB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.4792, allocations: 52.92 kB / 0.4934 GB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.4793, allocations: 64 kB / 0.4934 GB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.4805, allocations: 0.696 MB / 0.4941 GB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.4805, allocations: 8 kB / 0.4941 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.6e-05/0.4806, allocations: 28 kB / 0.4941 GB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4806, allocations: 16 kB / 0.4942 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/0.4815, allocations: 0.4971 MB / 0.4946 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.4854, allocations: 2.681 MB / 0.4973 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008955/0.4863, allocations: 0.5289 MB / 0.4978 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.4869, allocations: 327.7 kB / 0.4981 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.4869, allocations: 4.438 kB / 0.4981 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.4875, allocations: 356.6 kB / 0.4984 GB, free: 14.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.605e-06/0.4875, allocations: 0 / 0.4984 GB, free: 14.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.0009614/0.4885, allocations: 0.5266 MB / 0.4989 GB, free: 14.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.4886, allocations: 137.1 kB / 0.4991 GB, free: 13.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.4891, allocations: 447.8 kB / 0.4995 GB, free: 13.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.4892, allocations: 49.69 kB / 0.4996 GB, free: 13.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.4895, allocations: 324.3 kB / 0.4999 GB, free: 13.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.4896, allocations: 165.7 kB / 0.5 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.4896, allocations: 8 kB / 0.5 GB, free: 12.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4898, allocations: 366.8 kB / 0.5004 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.4901, allocations: 185.5 kB / 0.5006 GB, free: 12.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.4905, allocations: 346.9 kB / 0.5009 GB, free: 11.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.4909, allocations: 211.2 kB / 0.5011 GB, free: 11.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4909, allocations: 0 / 0.5011 GB, free: 11.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001036/0.492, allocations: 0.6711 MB / 0.5017 GB, free: 11.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005727/0.4925, allocations: 1.573 MB / 0.5033 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4926, allocations: 4 kB / 0.5033 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.4931, allocations: 157.9 kB / 0.5034 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.4934, allocations: 87.83 kB / 0.5035 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.4961, allocations: 2.321 MB / 0.5058 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.4966, allocations: 91.53 kB / 0.5059 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.4966, allocations: 28 kB / 0.5059 GB, free: 6.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.4967, allocations: 4 kB / 0.5059 GB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009574/0.4976, allocations: 0.5764 MB / 0.5065 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4976, allocations: 4.844 kB / 0.5065 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003665/0.498, allocations: 150.7 kB / 0.5066 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.4983, allocations: 87.83 kB / 0.5067 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.5009, allocations: 2.312 MB / 0.509 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.5014, allocations: 75.55 kB / 0.509 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.5014, allocations: 24 kB / 0.5091 GB, free: 3.188 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (61): * Single equations (assignments): 60 * 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.0002068/0.5016, allocations: 160.8 kB / 0.5092 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5018, allocations: 59.25 kB / 0.5093 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.502, allocations: 65.72 kB / 0.5093 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.502, allocations: 5.406 kB / 0.5093 GB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.502, allocations: 7.938 kB / 0.5093 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.502, allocations: 0 / 0.5093 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.5041, allocations: 1.391 MB / 0.5107 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5041, allocations: 0 / 0.5107 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.5044, allocations: 51.91 kB / 0.5107 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003793/0.5048, allocations: 132.8 kB / 0.5109 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.5048, allocations: 20.02 kB / 0.5109 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/0.5075, allocations: 2.311 MB / 0.5131 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5076, allocations: 0 / 0.5131 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.509, allocations: 0.924 MB / 0.514 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.5093, allocations: 200.1 kB / 0.5142 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.5094, allocations: 12 kB / 0.5143 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.5098, allocations: 47.97 kB / 0.5143 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.5099, allocations: 64.41 kB / 0.5144 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.51, allocations: 21.02 kB / 0.5144 GB, free: 13.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004476/0.5104, allocations: 337.6 kB / 0.5147 GB, free: 13.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5104, allocations: 0 / 0.5147 GB, free: 13.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001104/0.5116, allocations: 335.1 kB / 0.515 GB, free: 12.82 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.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.001896/0.5135, allocations: 1.576 MB / 0.5166 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.5155, allocations: 1.181 MB / 0.5177 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5155, allocations: 4 kB / 0.5177 GB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.5162, allocations: 454.5 kB / 0.5181 GB, free: 9.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.5168, allocations: 108.7 kB / 0.5183 GB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.519, allocations: 1.074 MB / 0.5193 GB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.5195, allocations: 0.9595 MB / 0.5202 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.52, allocations: 116.8 kB / 0.5204 GB, free: 7.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.5203, allocations: 231.3 kB / 0.5206 GB, free: 7.008 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5203, allocations: 0 / 0.5206 GB, free: 7.008 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/0.5588, allocations: 16.26 MB / 0.5365 GB, free: 7.184 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/0.5592, allocations: 232 kB / 0.5367 GB, free: 6.875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.028, allocations: 4 kB / 0.5367 GB, free: 6.871 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat