Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001352/0.001352, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009568/0.0009572, allocations: 90.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.909e-05, allocations: 7.984 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08884, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.4476, allocations: 87.38 MB / 457.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.448, allocations: 85.25 kB / 457.6 MB, free: 5.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03374/0.4817, allocations: 12.97 MB / 470.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4818, allocations: 7.938 kB / 470.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.007e-05/0.4818, allocations: 12 kB / 470.6 MB, free: 10.29 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.001439/0.4833, allocations: 0.8369 MB / 471.4 MB, free: 9.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4833, allocations: 12.02 kB / 471.4 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.4835, allocations: 98.52 kB / 471.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.4836, allocations: 87.02 kB / 471.6 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/0.4843, allocations: 474 kB / 472.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.4844, allocations: 45.31 kB / 472.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.4845, allocations: 60 kB / 472.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4855, allocations: 0.6068 MB / 472.8 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.4855, allocations: 7.891 kB / 472.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.4856, allocations: 28 kB / 472.8 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4856, allocations: 12 kB / 472.8 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007257/0.4864, allocations: 437 kB / 473.3 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.4896, allocations: 2.286 MB / 475.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008292/0.4905, allocations: 455.7 kB / 476 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.4909, allocations: 249.2 kB / 476.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.491, allocations: 7.938 kB / 476.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.4915, allocations: 301.5 kB / 476.5 MB, free: 4.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.725e-06/0.4915, allocations: 0 / 476.5 MB, free: 4.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007888/0.4923, allocations: 421.5 kB / 476.9 MB, free: 3.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.4924, allocations: 140.5 kB / 477.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.4929, allocations: 407 kB / 477.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.4929, allocations: 45.69 kB / 477.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.4932, allocations: 308.4 kB / 477.8 MB, free: 2.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.4934, allocations: 138.1 kB / 478 MB, free: 2.562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.4934, allocations: 8 kB / 478 MB, free: 2.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.4936, allocations: 370.7 kB / 478.3 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.4939, allocations: 149.1 kB / 478.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.4943, allocations: 308.1 kB / 478.8 MB, free: 1.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.4946, allocations: 167.7 kB / 478.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4946, allocations: 0 / 478.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008797/0.4955, allocations: 0.5562 MB / 479.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006742/0.4962, allocations: 1.651 MB / 481.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.4962, allocations: 8 kB / 481.2 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.4965, allocations: 80.78 kB / 481.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.4969, allocations: 91.83 kB / 481.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.4987, allocations: 1.737 MB / 483.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.4992, allocations: 87.58 kB / 483.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.4992, allocations: 24.16 kB / 483.2 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.4993, allocations: 4 kB / 483.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007421/0.5, allocations: 487.9 kB / 483.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5, allocations: 7.984 kB / 483.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.5002, allocations: 72.83 kB / 483.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.5005, allocations: 92.36 kB / 483.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.5021, allocations: 1.736 MB / 485.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.5025, allocations: 71.69 kB / 485.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.5026, allocations: 20 kB / 485.6 MB, free: 10.39 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.0001894/0.5028, allocations: 160.9 kB / 485.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.5029, allocations: 63.28 kB / 485.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.503, allocations: 52.89 kB / 485.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5031, allocations: 4 kB / 485.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5031, allocations: 0 / 485.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5031, allocations: 7.922 kB / 485.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.5048, allocations: 1.244 MB / 487.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5048, allocations: 0 / 487.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.5051, allocations: 47.91 kB / 487.2 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.5053, allocations: 72.83 kB / 487.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.5054, allocations: 12.02 kB / 487.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.507, allocations: 1.644 MB / 488.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.507, allocations: 4.031 kB / 489 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.5081, allocations: 0.7536 MB / 489.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.5083, allocations: 172.4 kB / 489.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.5084, allocations: 20.06 kB / 489.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.5087, allocations: 35.97 kB / 489.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5089, allocations: 55.92 kB / 490 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.5089, allocations: 12.08 kB / 490 MB, free: 5.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004103/0.5093, allocations: 313.2 kB / 490.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5094, allocations: 4 kB / 490.3 MB, free: 5.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009435/0.5103, allocations: 283.1 kB / 490.6 MB, free: 5.199 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.001427/0.5117, allocations: 1.4 MB / 492 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.5132, allocations: 0.9219 MB / 492.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5132, allocations: 0 / 492.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.5137, allocations: 339.9 kB / 493.2 MB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.5141, allocations: 84.39 kB / 493.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.5162, allocations: 0.9515 MB / 494.3 MB, free: 1.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.5168, allocations: 0.923 MB / 495.2 MB, free: 444 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004291/0.5172, allocations: 112.4 kB / 495.3 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.5175, allocations: 207.4 kB / 495.5 MB, free: 128 kB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5175, allocations: 4 kB / 495.5 MB, free: 124 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.5503, allocations: 12.74 MB / 0.4963 GB, free: 3.359 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/0.5506, allocations: 238.5 kB / 0.4966 GB, free: 3.047 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.809, allocations: 0 / 0.4966 GB, free: 3.047 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_3.2.3_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat