Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_3_cpp_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_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.195e-05, allocations: 4 kB / 321.6 MB, free: 17.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 47.57 MB / 369.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5129, allocations: 87.38 MB / 456.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.5132, allocations: 82.38 kB / 456.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05663/0.5698, allocations: 12.97 MB / 469.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5699, allocations: 0 / 469.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.623e-05/0.57, allocations: 16 kB / 469.6 MB, free: 10.59 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002465/0.5725, allocations: 0.8446 MB / 470.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.5725, allocations: 8.031 kB / 470.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003111/0.5729, allocations: 102.5 kB / 470.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.5731, allocations: 87.02 kB / 470.7 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.5744, allocations: 470.1 kB / 471.1 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.5745, allocations: 49.31 kB / 471.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5747, allocations: 67.94 kB / 471.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.5765, allocations: 0.5951 MB / 471.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.5765, allocations: 11.78 kB / 471.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.5767, allocations: 31.98 kB / 471.9 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.5767, allocations: 12 kB / 471.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.5781, allocations: 433.1 kB / 472.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006092/0.5842, allocations: 2.29 MB / 474.6 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.5858, allocations: 459.8 kB / 475.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.5866, allocations: 241.5 kB / 475.3 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/0.5867, allocations: 4 kB / 475.3 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008107/0.5875, allocations: 304.8 kB / 475.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.597e-06/0.5875, allocations: 0 / 475.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001339/0.5889, allocations: 429.4 kB / 476 MB, free: 3.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.589, allocations: 136.5 kB / 476.2 MB, free: 3.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008771/0.5899, allocations: 411 kB / 476.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.59, allocations: 37.7 kB / 476.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.5904, allocations: 350.9 kB / 476.9 MB, free: 2.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.5906, allocations: 134.1 kB / 477.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.5907, allocations: 12 kB / 477.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5908, allocations: 334.8 kB / 477.4 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.5913, allocations: 153.1 kB / 477.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.592, allocations: 308.1 kB / 477.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.5925, allocations: 167.6 kB / 478 MB, free: 1.797 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.5925, allocations: 0 / 478 MB, free: 1.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001433/0.5939, allocations: 0.5132 MB / 478.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008487/0.5948, allocations: 1.662 MB / 480.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.5949, allocations: 4 kB / 480.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.5954, allocations: 92.75 kB / 480.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.5962, allocations: 91.83 kB / 480.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.5988, allocations: 1.737 MB / 482.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009292/0.5998, allocations: 87.56 kB / 482.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.5999, allocations: 27.92 kB / 482.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5999, allocations: 4 kB / 482.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/0.6013, allocations: 480.2 kB / 482.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6013, allocations: 4 kB / 482.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.6017, allocations: 76.83 kB / 482.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.6023, allocations: 87.83 kB / 482.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.6049, allocations: 1.73 MB / 484.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.6055, allocations: 71.66 kB / 484.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.6056, allocations: 23.98 kB / 484.7 MB, free: 10.71 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.6059, allocations: 147.9 kB / 484.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.6061, allocations: 59.3 kB / 484.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.6063, allocations: 60.88 kB / 485 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6064, allocations: 8 kB / 485 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6064, allocations: 0 / 485 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6064, allocations: 3.984 kB / 485 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.6094, allocations: 1.248 MB / 486.2 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6094, allocations: 0 / 486.2 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.6099, allocations: 43.92 kB / 486.3 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/0.6103, allocations: 72.81 kB / 486.3 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.6103, allocations: 12 kB / 486.3 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.6128, allocations: 1.656 MB / 488 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6128, allocations: 0 / 488 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.6149, allocations: 0.7537 MB / 488.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.6154, allocations: 172.4 kB / 488.9 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.6155, allocations: 12 kB / 488.9 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.6161, allocations: 43.95 kB / 489 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.6164, allocations: 47.92 kB / 489 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.6164, allocations: 16 kB / 489 MB, free: 6.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006579/0.6171, allocations: 309.2 kB / 489.3 MB, free: 5.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6171, allocations: 0 / 489.3 MB, free: 5.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001464/0.6186, allocations: 283.1 kB / 489.6 MB, free: 5.535 MB / 362.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (39): * Single equations (assignments): 33 * 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.002606/0.6212, allocations: 1.396 MB / 491 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.6236, allocations: 0.9004 MB / 491.9 MB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.6237, allocations: 4.125 kB / 491.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.6245, allocations: 347.9 kB / 492.3 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008493/0.6254, allocations: 88.17 kB / 492.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.6288, allocations: 0.9767 MB / 493.3 MB, free: 1.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/0.6296, allocations: 0.9183 MB / 494.2 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.6301, allocations: 219.3 kB / 494.4 MB, free: 0.543 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6301, allocations: 0 / 494.4 MB, free: 0.543 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.027/3.657, allocations: 12.23 MB / 0.4948 GB, free: 4.297 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat