Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 202.8 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.36/1.36, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008459/0.000846, allocations: 99.58 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.753e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 51.48 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.4398, allocations: 89.35 MB / 484.6 MB, free: 3.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4401, allocations: 92.17 kB / 484.7 MB, free: 3.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03546/0.4756, allocations: 14.19 MB / 498.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4756, allocations: 0 / 498.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.376e-05/0.4757, allocations: 16 kB / 498.9 MB, free: 7.777 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001585/0.4773, allocations: 0.9049 MB / 499.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4773, allocations: 8.031 kB / 499.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.4777, allocations: 106.7 kB / 500 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.4784, allocations: 0.4909 MB / 0.4887 GB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.4785, allocations: 27.98 kB / 0.4887 GB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.4786, allocations: 43.98 kB / 0.4888 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000732/0.4793, allocations: 438.8 kB / 0.4892 GB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.4802, allocations: 0.5738 MB / 0.4898 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.4803, allocations: 3.984 kB / 0.4898 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.4803, allocations: 4 kB / 0.4898 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.4804, allocations: 20.34 kB / 0.4898 GB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003381/0.4838, allocations: 2.294 MB / 0.492 GB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/0.4848, allocations: 0.5154 MB / 0.4925 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.4852, allocations: 253.8 kB / 0.4928 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.4853, allocations: 4.438 kB / 0.4928 GB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.4857, allocations: 319.8 kB / 0.4931 GB, free: 2.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.817e-06/0.4858, allocations: 4 kB / 0.4931 GB, free: 2.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007498/0.4865, allocations: 449.2 kB / 0.4935 GB, free: 2.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.4866, allocations: 166.6 kB / 0.4937 GB, free: 2.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.4871, allocations: 362.4 kB / 0.494 GB, free: 1.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.4871, allocations: 29.69 kB / 0.494 GB, free: 1.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.4873, allocations: 325.5 kB / 0.4944 GB, free: 1.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.4875, allocations: 154.5 kB / 0.4945 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.4875, allocations: 0 / 0.4945 GB, free: 1.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4877, allocations: 370.1 kB / 0.4949 GB, free: 1.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.4879, allocations: 159.4 kB / 0.495 GB, free: 1.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.4883, allocations: 318.5 kB / 0.4953 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.4886, allocations: 172.2 kB / 0.4955 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4886, allocations: 0 / 0.4955 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007965/0.4894, allocations: 0.527 MB / 0.496 GB, free: 328 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007095/0.4901, allocations: 1.655 MB / 0.4976 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4901, allocations: 7.984 kB / 0.4976 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.4904, allocations: 79.91 kB / 0.4977 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.4908, allocations: 114.5 kB / 0.4978 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.4925, allocations: 1.689 MB / 0.4995 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.493, allocations: 75.61 kB / 0.4995 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.493, allocations: 23.56 kB / 0.4995 GB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.493, allocations: 4 kB / 0.4996 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006944/0.4937, allocations: 454 kB / 0.5 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4938, allocations: 4 kB / 0.5 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.494, allocations: 75.89 kB / 0.5001 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.4943, allocations: 99.44 kB / 0.5002 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.4959, allocations: 1.697 MB / 0.5018 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.4963, allocations: 59.64 kB / 0.5019 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.4963, allocations: 23.44 kB / 0.5019 GB, free: 10.54 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 (65): * Single equations (assignments): 64 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.4966, allocations: 139.5 kB / 0.502 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006911/0.4972, allocations: 447.5 kB / 0.5025 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.4973, allocations: 59.3 kB / 0.5025 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.4975, allocations: 52.41 kB / 0.5026 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4975, allocations: 4 kB / 0.5026 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.4975, allocations: 0 / 0.5026 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.4975, allocations: 3.984 kB / 0.5026 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.4992, allocations: 1.229 MB / 0.5038 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4992, allocations: 4 kB / 0.5038 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.4996, allocations: 71.89 kB / 0.5038 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.4998, allocations: 76.78 kB / 0.5039 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.4998, allocations: 4 kB / 0.5039 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.5014, allocations: 1.588 MB / 0.5055 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5014, allocations: 0 / 0.5055 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.5025, allocations: 0.7914 MB / 0.5062 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.5027, allocations: 180.4 kB / 0.5064 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.5028, allocations: 5.766 kB / 0.5064 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.5032, allocations: 43.97 kB / 0.5065 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.5033, allocations: 60.34 kB / 0.5065 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.5034, allocations: 19.98 kB / 0.5065 GB, free: 5.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000326/0.5037, allocations: 267 kB / 0.5068 GB, free: 5.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5037, allocations: 0 / 0.5068 GB, free: 5.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001027/0.5047, allocations: 279 kB / 0.5071 GB, free: 5.383 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.5062, allocations: 1.438 MB / 0.5085 GB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.5077, allocations: 0.9215 MB / 0.5094 GB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5077, allocations: 0 / 0.5094 GB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.5081, allocations: 355.2 kB / 0.5097 GB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.5086, allocations: 65.77 kB / 0.5098 GB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.5108, allocations: 1.029 MB / 0.5108 GB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.5114, allocations: 0.9539 MB / 0.5117 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.5118, allocations: 120.3 kB / 0.5118 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.5121, allocations: 219.4 kB / 0.512 GB, free: 172 kB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5121, allocations: 0 / 0.512 GB, free: 172 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.5473, allocations: 12.26 MB / 0.524 GB, free: 4.074 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.5476, allocations: 225.8 kB / 0.5242 GB, free: 3.789 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.81, allocations: 4.031 kB / 0.5242 GB, free: 3.785 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat