Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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_RL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001555/0.001555, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009145/0.0009148, allocations: 95.02 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002043/0.0002043, allocations: 4 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.198, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3026, allocations: 89.59 MB / 499.1 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.303, allocations: 95.56 kB / 499.2 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03431/0.3373, allocations: 13.9 MB / 0.5011 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3373, allocations: 0 / 0.5011 GB, free: 2.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-05/0.3374, allocations: 16 kB / 0.5011 GB, free: 2.914 MB / 378.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.001537/0.3389, allocations: 0.9349 MB / 0.502 GB, free: 1.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.339, allocations: 16.02 kB / 0.502 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.3391, allocations: 102.5 kB / 0.5021 GB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.3394, allocations: 115 kB / 0.5022 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.3401, allocations: 497.8 kB / 0.5027 GB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.3402, allocations: 49.31 kB / 0.5028 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.3403, allocations: 63.98 kB / 0.5028 GB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3413, allocations: 0.6739 MB / 0.5035 GB, free: 352 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3414, allocations: 7.906 kB / 0.5035 GB, free: 344 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.3414, allocations: 27.98 kB / 0.5035 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.3414, allocations: 15.95 kB / 0.5035 GB, free: 300 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1729/0.5144, allocations: 0.5047 MB / 0.504 GB, free: 91.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.518, allocations: 2.374 MB / 0.5063 GB, free: 90.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.5188, allocations: 453 kB / 0.5068 GB, free: 90.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.5188, allocations: 5.922 kB / 0.5068 GB, free: 90.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005065/0.5193, allocations: 324.9 kB / 0.5071 GB, free: 90.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 1.934e-06/0.5193, allocations: 0 / 0.5071 GB, free: 90.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.00152/0.5209, allocations: 0.7724 MB / 0.5078 GB, free: 89.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.5209, allocations: 137.3 kB / 0.508 GB, free: 89.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.5214, allocations: 449.4 kB / 0.5084 GB, free: 89.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.5215, allocations: 42.2 kB / 0.5084 GB, free: 89.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.5216, allocations: 321.3 kB / 0.5087 GB, free: 89.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.5217, allocations: 145.5 kB / 0.5089 GB, free: 89.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.5218, allocations: 8.719 kB / 0.5089 GB, free: 89.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.5218, allocations: 367.4 kB / 0.5092 GB, free: 89.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.5222, allocations: 194.3 kB / 0.5094 GB, free: 89.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.5226, allocations: 348.3 kB / 0.5098 GB, free: 88.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.523, allocations: 218.7 kB / 0.51 GB, free: 88.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.523, allocations: 2.312 kB / 0.51 GB, free: 88.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001127/0.5241, allocations: 0.6247 MB / 0.5106 GB, free: 88.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.5243, allocations: 1.57 MB / 0.5121 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5244, allocations: 7.219 kB / 0.5121 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.5246, allocations: 85.5 kB / 0.5122 GB, free: 87.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.525, allocations: 97.38 kB / 0.5123 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.5264, allocations: 1.798 MB / 0.514 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.5268, allocations: 95.64 kB / 0.5141 GB, free: 85.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.5268, allocations: 21.06 kB / 0.5142 GB, free: 85.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.5268, allocations: 2.906 kB / 0.5142 GB, free: 85.53 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006795/0.5275, allocations: 0.5148 MB / 0.5147 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5275, allocations: 7.422 kB / 0.5147 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.5277, allocations: 87.7 kB / 0.5148 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.528, allocations: 88.08 kB / 0.5148 GB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.5292, allocations: 1.788 MB / 0.5166 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.5296, allocations: 89.48 kB / 0.5167 GB, free: 83.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.5296, allocations: 23.12 kB / 0.5167 GB, free: 83.63 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003036/0.5299, allocations: 307 kB / 0.517 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.53, allocations: 53.69 kB / 0.517 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.998e-05/0.5301, allocations: 64.55 kB / 0.5171 GB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5301, allocations: 7.875 kB / 0.5171 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5301, allocations: 0 / 0.5171 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5302, allocations: 7.953 kB / 0.5171 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.5316, allocations: 1.222 MB / 0.5183 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5316, allocations: 4 kB / 0.5183 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.5318, allocations: 58.64 kB / 0.5184 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.532, allocations: 76.94 kB / 0.5184 GB, free: 82.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.532, allocations: 4 kB / 0.5184 GB, free: 82.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.5332, allocations: 1.8 MB / 0.5202 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5332, allocations: 3.844 kB / 0.5202 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.5342, allocations: 0.8014 MB / 0.521 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.5344, allocations: 183.4 kB / 0.5212 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.5345, allocations: 11.28 kB / 0.5212 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.5348, allocations: 41.39 kB / 0.5212 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5349, allocations: 51.23 kB / 0.5213 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.5349, allocations: 26.72 kB / 0.5213 GB, free: 80.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003335/0.5353, allocations: 338.7 kB / 0.5216 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5353, allocations: 1.938 kB / 0.5216 GB, free: 80.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008597/0.5361, allocations: 295 kB / 0.5219 GB, free: 80.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.5374, allocations: 1.374 MB / 0.5232 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.5387, allocations: 1.029 MB / 0.5242 GB, free: 78.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5388, allocations: 0 / 0.5242 GB, free: 78.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.5392, allocations: 374.6 kB / 0.5246 GB, free: 78.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.5396, allocations: 89.66 kB / 0.5247 GB, free: 78.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.5422, allocations: 4.492 MB / 0.5291 GB, free: 74.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.5426, allocations: 0.9449 MB / 0.53 GB, free: 73.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.5429, allocations: 99.7 kB / 0.5301 GB, free: 73.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.5431, allocations: 221.4 kB / 0.5303 GB, free: 73.68 MB / 378.7 MB Notification: Performance of SimCode: time 4.498e-06/0.5431, allocations: 0 / 0.5303 GB, free: 73.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.5692, allocations: 12.6 MB / 0.5426 GB, free: 65.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.5693, allocations: 275.5 kB / 0.5429 GB, free: 65.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.726, allocations: 0 / 0.5429 GB, free: 65.3 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat