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.001495/0.001499, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001159/0.001159, allocations: 89.28 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.354e-05, allocations: 4 kB / 314.9 MB, free: 9.043 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.381, allocations: 47.56 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.5332, allocations: 86.72 MB / 449.2 MB, free: 15.47 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.5335, allocations: 80.89 kB / 449.2 MB, free: 15.39 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05564/0.5892, allocations: 12.85 MB / 462.1 MB, free: 2.582 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5893, allocations: 0 / 462.1 MB, free: 2.582 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.915e-05/0.5893, allocations: 19.98 kB / 462.1 MB, free: 2.562 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002308/0.5917, allocations: 0.8391 MB / 463 MB, free: 1.672 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.5917, allocations: 12.03 kB / 463 MB, free: 1.66 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.592, allocations: 83.02 kB / 463 MB, free: 1.578 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.5933, allocations: 480.2 kB / 463.5 MB, free: 1.062 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.5933, allocations: 20 kB / 463.5 MB, free: 1.043 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.5935, allocations: 47.98 kB / 463.6 MB, free: 0.9961 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0012/0.5947, allocations: 386.5 kB / 464 MB, free: 0.6211 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.5961, allocations: 0.5299 MB / 464.5 MB, free: 72 kB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.5961, allocations: 3.906 kB / 464.5 MB, free: 68 kB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.5962, allocations: 3.984 kB / 464.5 MB, free: 64 kB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.5963, allocations: 19.95 kB / 464.5 MB, free: 44 kB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005633/0.6019, allocations: 2.163 MB / 466.7 MB, free: 13.78 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.6033, allocations: 437.2 kB / 467.1 MB, free: 13.34 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.6041, allocations: 228.8 kB / 467.3 MB, free: 13.11 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.6041, allocations: 4 kB / 467.3 MB, free: 13.11 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007099/0.6048, allocations: 290.4 kB / 467.6 MB, free: 12.8 MB / 363.1 MB Notification: Performance of pre-optimization done (n=46): time 3.146e-06/0.6049, allocations: 0 / 467.6 MB, free: 12.8 MB / 363.1 MB Notification: Performance of matching and sorting (n=46): time 0.001208/0.6061, allocations: 393.9 kB / 468 MB, free: 12.41 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6062, allocations: 144.5 kB / 468.1 MB, free: 12.24 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.6069, allocations: 357 kB / 468.5 MB, free: 11.88 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.607, allocations: 37.69 kB / 468.5 MB, free: 11.84 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.6074, allocations: 346.7 kB / 468.9 MB, free: 11.5 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6076, allocations: 138.1 kB / 469 MB, free: 11.36 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.6076, allocations: 0 / 469 MB, free: 11.36 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6078, allocations: 326.8 kB / 469.3 MB, free: 11.04 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.6082, allocations: 149 kB / 469.5 MB, free: 10.89 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.6088, allocations: 287.1 kB / 469.7 MB, free: 10.54 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.6093, allocations: 163.6 kB / 469.9 MB, free: 10.38 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.078e-06/0.6093, allocations: 4 kB / 469.9 MB, free: 10.38 MB / 363.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001302/0.6106, allocations: 473.6 kB / 470.4 MB, free: 9.906 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007474/0.6114, allocations: 1.663 MB / 472 MB, free: 8.113 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.6114, allocations: 6.812 kB / 472 MB, free: 8.109 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.6119, allocations: 69.69 kB / 472.1 MB, free: 8.039 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/0.6127, allocations: 95.83 kB / 472.2 MB, free: 7.945 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.6153, allocations: 1.691 MB / 473.9 MB, free: 6.133 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008987/0.6163, allocations: 75.48 kB / 474 MB, free: 6.059 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.6164, allocations: 31.94 kB / 474 MB, free: 6.027 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.6164, allocations: 0 / 474 MB, free: 6.027 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.6176, allocations: 404 kB / 474.4 MB, free: 5.629 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6177, allocations: 8.516 kB / 474.4 MB, free: 5.621 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.618, allocations: 89.94 kB / 474.5 MB, free: 5.531 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.6187, allocations: 87.88 kB / 474.6 MB, free: 5.445 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.6211, allocations: 1.681 MB / 476.3 MB, free: 3.652 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.6218, allocations: 59.72 kB / 476.3 MB, free: 3.594 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.6219, allocations: 20 kB / 476.3 MB, free: 3.574 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 (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.0002916/0.6222, allocations: 133.8 kB / 476.5 MB, free: 3.438 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001135/0.6233, allocations: 382.2 kB / 476.8 MB, free: 3.055 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6235, allocations: 59.34 kB / 476.9 MB, free: 2.996 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.6237, allocations: 52.92 kB / 476.9 MB, free: 2.941 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.6237, allocations: 8.031 kB / 477 MB, free: 2.934 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6238, allocations: 4 kB / 477 MB, free: 2.93 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6238, allocations: 3.984 kB / 477 MB, free: 2.926 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.6265, allocations: 1.108 MB / 478.1 MB, free: 1.766 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.6265, allocations: 0 / 478.1 MB, free: 1.766 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.627, allocations: 55.94 kB / 478.1 MB, free: 1.711 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.6274, allocations: 72.8 kB / 478.2 MB, free: 1.637 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.6275, allocations: 4 kB / 478.2 MB, free: 1.633 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.63, allocations: 1.593 MB / 479.8 MB, free: 15.93 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.63, allocations: 0 / 479.8 MB, free: 15.93 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.632, allocations: 0.7106 MB / 480.5 MB, free: 15.19 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.6325, allocations: 168.4 kB / 480.7 MB, free: 15 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.6326, allocations: 7.953 kB / 480.7 MB, free: 15 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.6333, allocations: 39.95 kB / 480.7 MB, free: 14.96 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.6336, allocations: 51.92 kB / 480.8 MB, free: 14.91 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.6337, allocations: 15.94 kB / 480.8 MB, free: 14.89 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0005182/0.6342, allocations: 267 kB / 481 MB, free: 14.63 MB / 379.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.6342, allocations: 0 / 481 MB, free: 14.63 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001582/0.6358, allocations: 255.1 kB / 481.3 MB, free: 14.38 MB / 379.1 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.002503/0.6383, allocations: 1.346 MB / 482.6 MB, free: 12.99 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.641, allocations: 0.8465 MB / 483.5 MB, free: 12.12 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/0.641, allocations: 6.125 kB / 483.5 MB, free: 12.12 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.6418, allocations: 319.4 kB / 483.8 MB, free: 11.8 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008597/0.6427, allocations: 78.2 kB / 483.9 MB, free: 11.73 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.6462, allocations: 0.9292 MB / 484.8 MB, free: 10.74 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000757/0.6471, allocations: 0.9179 MB / 485.7 MB, free: 9.797 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.6476, allocations: 211.4 kB / 485.9 MB, free: 9.594 MB / 379.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6477, allocations: 4 kB / 485.9 MB, free: 9.59 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.13/3.777, allocations: 11.93 MB / 497.9 MB, free: 13.68 MB / 395.1 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