Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_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.001139/0.001139, 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.406/1.406, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008806/0.0008807, allocations: 87.64 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.013e-05/5.063e-05, allocations: 4 kB / 350.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1431, allocations: 51.49 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.5014, allocations: 89.19 MB / 491.3 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.5017, allocations: 83.66 kB / 491.4 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03541/0.5371, allocations: 13.55 MB / 0.4931 GB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5371, allocations: 0 / 0.4931 GB, free: 4.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.529e-05/0.5372, allocations: 16 kB / 0.4931 GB, free: 4.324 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001993/0.5392, allocations: 0.8528 MB / 0.494 GB, free: 3.422 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5393, allocations: 8.031 kB / 0.494 GB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.5395, allocations: 98.52 kB / 0.4941 GB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004756/0.54, allocations: 113.6 kB / 0.4942 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009717/0.541, allocations: 485.6 kB / 0.4946 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.5411, allocations: 53.3 kB / 0.4947 GB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.5412, allocations: 60 kB / 0.4948 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5424, allocations: 0.6155 MB / 0.4954 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5424, allocations: 4 kB / 0.4954 GB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.5425, allocations: 27.98 kB / 0.4954 GB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.5425, allocations: 15.94 kB / 0.4954 GB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.5436, allocations: 437.2 kB / 0.4958 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.5481, allocations: 2.313 MB / 0.4981 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/0.5491, allocations: 406.3 kB / 0.4985 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/0.5498, allocations: 251.8 kB / 0.4987 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.5499, allocations: 4 kB / 0.4987 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000801/0.5507, allocations: 308.9 kB / 0.499 GB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.927e-06/0.5507, allocations: 0 / 0.499 GB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001248/0.552, allocations: 442.5 kB / 0.4994 GB, free: 13.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.5521, allocations: 170.2 kB / 0.4996 GB, free: 13.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008965/0.553, allocations: 423 kB / 0.5 GB, free: 13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.5531, allocations: 37.7 kB / 0.5 GB, free: 12.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.5535, allocations: 316.4 kB / 0.5003 GB, free: 12.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.5537, allocations: 138.1 kB / 0.5005 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.5538, allocations: 8 kB / 0.5005 GB, free: 12.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.5541, allocations: 370.7 kB / 0.5008 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.5546, allocations: 153.1 kB / 0.501 GB, free: 11.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/0.5553, allocations: 321 kB / 0.5013 GB, free: 11.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.5559, allocations: 180.5 kB / 0.5014 GB, free: 11.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5559, allocations: 0 / 0.5014 GB, free: 11.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001648/0.5576, allocations: 0.5672 MB / 0.502 GB, free: 10.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000938/0.5585, allocations: 1.662 MB / 0.5036 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.5586, allocations: 4 kB / 0.5036 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.5592, allocations: 98.2 kB / 0.5037 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.5598, allocations: 91.78 kB / 0.5038 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.5631, allocations: 1.845 MB / 0.5056 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.5639, allocations: 87.61 kB / 0.5057 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.564, allocations: 20 kB / 0.5057 GB, free: 6.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.564, allocations: 4 kB / 0.5057 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001454/0.5655, allocations: 499.9 kB / 0.5062 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5655, allocations: 4 kB / 0.5062 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.566, allocations: 88.81 kB / 0.5063 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.5665, allocations: 80.25 kB / 0.5064 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.5696, allocations: 1.848 MB / 0.5082 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000793/0.5704, allocations: 63.66 kB / 0.5082 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.5705, allocations: 20 kB / 0.5082 GB, free: 4.039 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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003287/0.5709, allocations: 168 kB / 0.5084 GB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.5711, allocations: 59.3 kB / 0.5085 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.5714, allocations: 56.98 kB / 0.5085 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5714, allocations: 8 kB / 0.5085 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5714, allocations: 3.984 kB / 0.5085 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.5714, allocations: 1.875 kB / 0.5085 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.5747, allocations: 1.279 MB / 0.5098 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5747, allocations: 0 / 0.5098 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.5751, allocations: 47.91 kB / 0.5098 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/0.5756, allocations: 88.78 kB / 0.5099 GB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.5756, allocations: 8 kB / 0.5099 GB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.5787, allocations: 1.749 MB / 0.5116 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.5787, allocations: 4.031 kB / 0.5116 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.5808, allocations: 0.7768 MB / 0.5124 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.5812, allocations: 168.4 kB / 0.5125 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5814, allocations: 15.78 kB / 0.5126 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.582, allocations: 39.97 kB / 0.5126 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.5822, allocations: 55.92 kB / 0.5127 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.5823, allocations: 15.98 kB / 0.5127 GB, free: 15.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007422/0.5831, allocations: 325.1 kB / 0.513 GB, free: 14.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5831, allocations: 0 / 0.513 GB, free: 14.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001811/0.5849, allocations: 291.1 kB / 0.5133 GB, free: 14.66 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: 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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/0.5874, allocations: 1.416 MB / 0.5146 GB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.5899, allocations: 0.9637 MB / 0.5156 GB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.59, allocations: 0 / 0.5156 GB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.5908, allocations: 366.5 kB / 0.5159 GB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.5916, allocations: 81.69 kB / 0.516 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.5948, allocations: 0.9419 MB / 0.5169 GB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008068/0.5956, allocations: 0.9348 MB / 0.5178 GB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007394/0.5964, allocations: 124.4 kB / 0.518 GB, free: 9.703 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.5967, allocations: 208.6 kB / 0.5182 GB, free: 9.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5968, allocations: 5.781 kB / 0.5182 GB, free: 9.496 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.643, allocations: 13.35 MB / 0.5312 GB, free: 12.52 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003196/0.6434, allocations: 244.9 kB / 0.5314 GB, free: 12.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.096, allocations: 0 / 0.5314 GB, free: 12.21 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat