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.001545/0.001545, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.921/1.921, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001141/0.00114, allocations: 92.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004036, allocations: 16 kB / 327.1 MB, free: 88 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 47.56 MB / 374.6 MB, free: 45.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.4715, allocations: 87.47 MB / 462.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.472, allocations: 87.95 kB / 462.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05873/0.5307, allocations: 12.99 MB / 475.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5308, allocations: 0 / 475.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.131e-05/0.5308, allocations: 16 kB / 475.2 MB, free: 12.02 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003056/0.5339, allocations: 0.911 MB / 476.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.534, allocations: 8.031 kB / 476.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003894/0.5344, allocations: 102.5 kB / 476.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.5347, allocations: 83.02 kB / 476.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.536, allocations: 474 kB / 476.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.5361, allocations: 53.3 kB / 476.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.5363, allocations: 60 kB / 476.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.5384, allocations: 0.634 MB / 477.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.5385, allocations: 11.83 kB / 477.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/0.5386, allocations: 24 kB / 477.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.5386, allocations: 16 kB / 477.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5403, allocations: 492.9 kB / 478 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006253/0.5466, allocations: 2.303 MB / 480.3 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.5484, allocations: 476.1 kB / 480.8 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.5485, allocations: 7.938 kB / 480.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009044/0.5494, allocations: 308.2 kB / 481.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.747e-06/0.5494, allocations: 0 / 481.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.003058/0.5525, allocations: 0.7364 MB / 481.9 MB, free: 5.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5527, allocations: 114.8 kB / 482 MB, free: 4.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5537, allocations: 428.9 kB / 482.4 MB, free: 4.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.5539, allocations: 41.7 kB / 482.4 MB, free: 4.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.5543, allocations: 343.3 kB / 482.8 MB, free: 4.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.5546, allocations: 138.1 kB / 482.9 MB, free: 3.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.5547, allocations: 12 kB / 482.9 MB, free: 3.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5549, allocations: 338.8 kB / 483.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/0.5556, allocations: 177 kB / 483.4 MB, free: 3.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/0.5565, allocations: 331.2 kB / 483.7 MB, free: 3.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.5572, allocations: 192.8 kB / 483.9 MB, free: 2.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.5572, allocations: 7.938 kB / 483.9 MB, free: 2.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001912/0.5591, allocations: 0.5633 MB / 484.5 MB, free: 2.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007884/0.56, allocations: 1.573 MB / 486.1 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.56, allocations: 8 kB / 486.1 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.5606, allocations: 80.75 kB / 486.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.5613, allocations: 87.89 kB / 486.2 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.5645, allocations: 1.8 MB / 488 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.5655, allocations: 87.61 kB / 488.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.5656, allocations: 24 kB / 488.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5656, allocations: 4 kB / 488.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001629/0.5672, allocations: 0.5071 MB / 488.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.5673, allocations: 8 kB / 488.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.5677, allocations: 76.81 kB / 488.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.5683, allocations: 79.84 kB / 488.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.5714, allocations: 1.784 MB / 490.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.5721, allocations: 67.72 kB / 490.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.5722, allocations: 20 kB / 490.7 MB, free: 11.71 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,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0006488/0.5728, allocations: 303.3 kB / 491 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.573, allocations: 59.3 kB / 491 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.5733, allocations: 65.09 kB / 491.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.5733, allocations: 4 kB / 491.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5733, allocations: 0 / 491.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.5733, allocations: 8.016 kB / 491.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.5765, allocations: 1.172 MB / 492.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5765, allocations: 0 / 492.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.577, allocations: 44.19 kB / 492.3 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.5774, allocations: 80.75 kB / 492.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.5775, allocations: 8 kB / 492.4 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002953/0.5804, allocations: 1.803 MB / 494.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5805, allocations: 0 / 494.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.5828, allocations: 0.7587 MB / 495 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.5832, allocations: 164.4 kB / 495.1 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5834, allocations: 15.98 kB / 495.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.584, allocations: 43.97 kB / 495.2 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.5842, allocations: 51.92 kB / 495.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.5843, allocations: 15.98 kB / 495.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007398/0.5851, allocations: 323.1 kB / 495.6 MB, free: 6.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5851, allocations: 0 / 495.6 MB, free: 6.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001492/0.5866, allocations: 283.1 kB / 495.9 MB, free: 6.293 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,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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.002739/0.5893, allocations: 1.337 MB / 497.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.5922, allocations: 0.9803 MB / 498.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.5923, allocations: 4 kB / 498.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000903/0.5932, allocations: 354.5 kB / 498.5 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.5941, allocations: 97.45 kB / 498.6 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2633/0.8574, allocations: 4.42 MB / 0.4913 GB, free: 104.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/0.8581, allocations: 0.916 MB / 0.4921 GB, free: 104 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006152/0.8588, allocations: 220.5 kB / 0.4924 GB, free: 104 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8588, allocations: 0.8438 kB / 0.4924 GB, free: 104 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.931/3.79, allocations: 12.03 MB / 0.5041 GB, free: 102.6 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