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_R.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_R,fileNamePrefix="Modelica_3_2_3_cpp_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_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.00221/0.00221, allocations: 181.9 kB / 8.367 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 86.55 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.401e-05, allocations: 7.938 kB / 314.9 MB, free: 9.016 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3423, allocations: 47.55 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4843, allocations: 86.42 MB / 448.9 MB, free: 15.79 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.4847, allocations: 83.94 kB / 449 MB, free: 15.71 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05472/0.5395, allocations: 12.53 MB / 461.5 MB, free: 3.203 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5395, allocations: 0 / 461.5 MB, free: 3.203 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.941e-05/0.5396, allocations: 12 kB / 461.5 MB, free: 3.191 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002395/0.542, allocations: 0.8304 MB / 462.3 MB, free: 2.312 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5421, allocations: 8.031 kB / 462.3 MB, free: 2.305 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.5424, allocations: 79.06 kB / 462.4 MB, free: 2.227 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5435, allocations: 468.2 kB / 462.9 MB, free: 1.727 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.5436, allocations: 24 kB / 462.9 MB, free: 1.703 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.5438, allocations: 35.98 kB / 462.9 MB, free: 1.668 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/0.545, allocations: 382.5 kB / 463.3 MB, free: 1.293 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.5464, allocations: 0.512 MB / 463.8 MB, free: 0.7617 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.5464, allocations: 0 / 463.8 MB, free: 0.7617 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.5465, allocations: 7.938 kB / 463.8 MB, free: 0.7539 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5465, allocations: 12 kB / 463.8 MB, free: 0.7422 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005424/0.552, allocations: 2.102 MB / 465.9 MB, free: 14.54 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.5534, allocations: 421.1 kB / 466.3 MB, free: 14.12 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.5541, allocations: 221.8 kB / 466.6 MB, free: 13.9 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.5542, allocations: 8.312 kB / 466.6 MB, free: 13.89 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006732/0.5549, allocations: 270.1 kB / 466.8 MB, free: 13.61 MB / 363.1 MB Notification: Performance of pre-optimization done (n=44): time 3.497e-06/0.5549, allocations: 0 / 466.8 MB, free: 13.61 MB / 363.1 MB Notification: Performance of matching and sorting (n=44): time 0.001164/0.5561, allocations: 393.7 kB / 467.2 MB, free: 13.21 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5562, allocations: 140.5 kB / 467.4 MB, free: 13.05 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/0.5569, allocations: 353.1 kB / 467.7 MB, free: 12.7 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/0.557, allocations: 33.7 kB / 467.7 MB, free: 12.66 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.5573, allocations: 342.8 kB / 468.1 MB, free: 12.32 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.5575, allocations: 133.4 kB / 468.2 MB, free: 12.19 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.5576, allocations: 0 / 468.2 MB, free: 12.19 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5577, allocations: 326.8 kB / 468.5 MB, free: 11.86 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.5581, allocations: 145.1 kB / 468.7 MB, free: 11.72 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.5587, allocations: 287 kB / 468.9 MB, free: 11.37 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.5591, allocations: 147.9 kB / 469.1 MB, free: 11.23 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.118e-06/0.5591, allocations: 4 kB / 469.1 MB, free: 11.22 MB / 363.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001243/0.5604, allocations: 458.2 kB / 469.5 MB, free: 10.77 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007367/0.5611, allocations: 1.663 MB / 471.2 MB, free: 8.973 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.5612, allocations: 7.984 kB / 471.2 MB, free: 8.965 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.5618, allocations: 80.83 kB / 471.3 MB, free: 8.883 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.5624, allocations: 91.83 kB / 471.4 MB, free: 8.793 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.5653, allocations: 1.799 MB / 473.2 MB, free: 6.871 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.5663, allocations: 79.59 kB / 473.3 MB, free: 6.793 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/0.5664, allocations: 20 kB / 473.3 MB, free: 6.773 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5664, allocations: 4 kB / 473.3 MB, free: 6.77 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/0.5676, allocations: 410.1 kB / 473.7 MB, free: 6.367 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.5677, allocations: 8 kB / 473.7 MB, free: 6.359 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.5681, allocations: 81.58 kB / 473.8 MB, free: 6.277 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.5687, allocations: 79.83 kB / 473.8 MB, free: 6.199 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.5715, allocations: 1.788 MB / 475.6 MB, free: 4.297 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.5722, allocations: 55.66 kB / 475.7 MB, free: 4.242 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.5723, allocations: 20 kB / 475.7 MB, free: 4.223 MB / 363.1 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 (56): * Single equations (assignments): 55 * 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.0002658/0.5725, allocations: 144 kB / 475.8 MB, free: 4.074 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001114/0.5737, allocations: 382.9 kB / 476.2 MB, free: 3.691 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5738, allocations: 51.44 kB / 476.3 MB, free: 3.641 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.574, allocations: 52.89 kB / 476.3 MB, free: 3.59 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.574, allocations: 4 kB / 476.3 MB, free: 3.586 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.574, allocations: 0 / 476.3 MB, free: 3.586 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.574, allocations: 7.938 kB / 476.3 MB, free: 3.578 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.5765, allocations: 1.089 MB / 477.4 MB, free: 2.438 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5766, allocations: 0 / 477.4 MB, free: 2.438 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.577, allocations: 43.92 kB / 477.5 MB, free: 2.395 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004064/0.5774, allocations: 80.8 kB / 477.5 MB, free: 2.312 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.5775, allocations: 15.92 kB / 477.6 MB, free: 2.297 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.5801, allocations: 1.69 MB / 479.2 MB, free: 500 kB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5802, allocations: 0 / 479.2 MB, free: 500 kB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.582, allocations: 0.6913 MB / 479.9 MB, free: 15.77 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.5824, allocations: 156.5 kB / 480.1 MB, free: 15.6 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.5825, allocations: 11.98 kB / 480.1 MB, free: 15.59 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.5831, allocations: 31.97 kB / 480.1 MB, free: 15.55 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.5834, allocations: 51.92 kB / 480.2 MB, free: 15.5 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.5834, allocations: 12 kB / 480.2 MB, free: 15.49 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.000509/0.5839, allocations: 266.9 kB / 480.5 MB, free: 15.23 MB / 379.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.584, allocations: 0 / 480.5 MB, free: 15.23 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001496/0.5855, allocations: 259.1 kB / 480.7 MB, free: 14.98 MB / 379.1 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,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 (35): * Single equations (assignments): 29 * 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.002222/0.5877, allocations: 1.327 MB / 482 MB, free: 13.62 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.59, allocations: 0.8447 MB / 482.9 MB, free: 12.75 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 8.477e-06/0.5901, allocations: 0 / 482.9 MB, free: 12.75 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000797/0.5909, allocations: 336.3 kB / 483.2 MB, free: 12.42 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.5917, allocations: 67.22 kB / 483.3 MB, free: 12.35 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.5947, allocations: 0.8488 MB / 484.1 MB, free: 11.46 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.5954, allocations: 0.9098 MB / 485 MB, free: 10.52 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.5959, allocations: 207.4 kB / 485.2 MB, free: 10.32 MB / 379.1 MB Notification: Performance of SimCode: time 3.356e-06/0.5959, allocations: 0 / 485.2 MB, free: 10.32 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.889/3.485, allocations: 11.63 MB / 496.9 MB, free: 14.72 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R_res.mat does not exist to compare? outputFormat=mat