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.DiodeCenterTap2Pulse.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.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.001533/0.001533, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.976/1.976, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.001144/0.001144, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004042, allocations: 8 kB / 327.1 MB, free: 88 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.335, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4683, allocations: 80.53 MB / 455.2 MB, free: 104 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/0.4687, allocations: 87.94 kB / 455.3 MB, free: 16 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0291/0.4979, allocations: 6.289 MB / 461.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4979, allocations: 0 / 461.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.207e-05/0.498, allocations: 8 kB / 461.6 MB, free: 9.684 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001683/0.4996, allocations: 0.654 MB / 462.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4997, allocations: 12.03 kB / 462.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.4999, allocations: 70.53 kB / 462.3 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.5, allocations: 51.78 kB / 462.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.5008, allocations: 339 kB / 462.7 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.5008, allocations: 29 kB / 462.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.723e-05/0.5009, allocations: 36 kB / 462.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.502, allocations: 379.2 kB / 463.1 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.5021, allocations: 3.984 kB / 463.1 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.5022, allocations: 16 kB / 463.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.5022, allocations: 8 kB / 463.1 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.5031, allocations: 266.4 kB / 463.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.5066, allocations: 1.48 MB / 464.9 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.5074, allocations: 255.4 kB / 465.1 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.5075, allocations: 4.219 kB / 465.1 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/0.5081, allocations: 225.2 kB / 465.4 MB, free: 5.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.5081, allocations: 0 / 465.4 MB, free: 5.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.002614/0.5108, allocations: 0.5926 MB / 465.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.5109, allocations: 81.11 kB / 466 MB, free: 4.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.5114, allocations: 263.6 kB / 466.3 MB, free: 4.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.5114, allocations: 41.64 kB / 466.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.5117, allocations: 258.8 kB / 466.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.5118, allocations: 94.64 kB / 466.7 MB, free: 4.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.5118, allocations: 12 kB / 466.7 MB, free: 4.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.512, allocations: 322.8 kB / 467 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.5124, allocations: 95.95 kB / 467.1 MB, free: 3.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.5128, allocations: 210.5 kB / 467.3 MB, free: 3.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.5132, allocations: 114.4 kB / 467.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5133, allocations: 0 / 467.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00123/0.5145, allocations: 406.1 kB / 467.8 MB, free: 3.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.5146, allocations: 8 kB / 467.8 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5146, allocations: 4 kB / 467.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000482/0.5151, allocations: 84.75 kB / 467.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.5155, allocations: 55.91 kB / 468 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.5184, allocations: 1.835 MB / 469.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.5189, allocations: 39.67 kB / 469.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.519, allocations: 16 kB / 469.8 MB, free: 0.9062 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0003222/0.5193, allocations: 162.8 kB / 470 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.5194, allocations: 31.62 kB / 470 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.5195, allocations: 43.16 kB / 470.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5195, allocations: 4 kB / 470.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5196, allocations: 0 / 470.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5196, allocations: 7.938 kB / 470.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.5202, allocations: 401.7 kB / 470.5 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5202, allocations: 48 / 470.5 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.5206, allocations: 35.97 kB / 470.5 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.521, allocations: 84.73 kB / 470.6 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.5211, allocations: 8 kB / 470.6 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/0.5239, allocations: 1.815 MB / 472.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5239, allocations: 4 kB / 472.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.5257, allocations: 0.5107 MB / 472.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.526, allocations: 132.7 kB / 473.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.5261, allocations: 15.88 kB / 473.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.5264, allocations: 23.94 kB / 473.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.5265, allocations: 23.97 kB / 473.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.5266, allocations: 15.98 kB / 473.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003325/0.5269, allocations: 203.1 kB / 473.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5269, allocations: 0 / 473.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007046/0.5277, allocations: 111.7 kB / 473.4 MB, free: 13.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002151/0.5298, allocations: 1.065 MB / 474.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.5311, allocations: 422.3 kB / 474.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5311, allocations: 0 / 474.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.5319, allocations: 295.9 kB / 475.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.5324, allocations: 48.58 kB / 475.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.5359, allocations: 3.499 MB / 478.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.5365, allocations: 0.8184 MB / 479.6 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.5368, allocations: 123.4 kB / 479.7 MB, free: 6.602 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5368, allocations: 0 / 479.7 MB, free: 6.602 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.76/3.297, allocations: 7.216 MB / 486.9 MB, free: 15.4 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat