Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.001435/0.001435, allocations: 177.8 kB / 8.36 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 2.187/2.187, 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.00111/0.00111, allocations: 96.14 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.106e-05, allocations: 4 kB / 314.9 MB, free: 9.035 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3412, allocations: 47.56 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.4807, allocations: 83.29 MB / 445.7 MB, free: 2.914 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/0.4811, allocations: 87.94 kB / 445.8 MB, free: 2.828 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0901/0.5712, allocations: 20.92 MB / 466.7 MB, free: 13.82 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5713, allocations: 0 / 466.7 MB, free: 13.82 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.5714, allocations: 35.92 kB / 466.8 MB, free: 13.79 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004939/0.5764, allocations: 1.363 MB / 468.1 MB, free: 12.37 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.5765, allocations: 12.03 kB / 468.1 MB, free: 12.36 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.5772, allocations: 154.2 kB / 468.3 MB, free: 12.21 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.5802, allocations: 0.9609 MB / 469.3 MB, free: 11.2 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.5804, allocations: 32 kB / 469.3 MB, free: 11.17 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.5807, allocations: 60 kB / 469.3 MB, free: 11.11 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00369/0.5844, allocations: 1.214 MB / 470.6 MB, free: 9.895 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.5881, allocations: 1.333 MB / 471.9 MB, free: 8.484 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.5882, allocations: 0 / 471.9 MB, free: 8.484 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.5883, allocations: 4 kB / 471.9 MB, free: 8.48 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.844e-05/0.5884, allocations: 45.95 kB / 471.9 MB, free: 8.434 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.6007, allocations: 4.766 MB / 476.7 MB, free: 3.5 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.6032, allocations: 1.39 MB / 478.1 MB, free: 1.992 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.605, allocations: 0.6725 MB / 478.8 MB, free: 1.316 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-05/0.6051, allocations: 20.5 kB / 478.8 MB, free: 1.297 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.6064, allocations: 0.5502 MB / 479.3 MB, free: 0.7305 MB / 363.1 MB Notification: Performance of pre-optimization done (n=72): time 3.877e-06/0.6064, allocations: 0 / 479.3 MB, free: 0.7305 MB / 363.1 MB Notification: Performance of matching and sorting (n=72): time 0.003222/0.6097, allocations: 1.129 MB / 480.5 MB, free: 15.58 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.6098, allocations: 85.89 kB / 480.6 MB, free: 15.48 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.6115, allocations: 0.7577 MB / 481.3 MB, free: 14.72 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.6117, allocations: 33.7 kB / 481.3 MB, free: 14.68 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/0.6123, allocations: 0.5215 MB / 481.9 MB, free: 14.15 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.6127, allocations: 216.7 kB / 482.1 MB, free: 13.94 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.6128, allocations: 4 kB / 482.1 MB, free: 13.93 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.6129, allocations: 338.8 kB / 482.4 MB, free: 13.59 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008769/0.6138, allocations: 365.4 kB / 482.8 MB, free: 13.24 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009926/0.6148, allocations: 0.4934 MB / 483.3 MB, free: 12.69 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009487/0.6158, allocations: 397.9 kB / 483.7 MB, free: 12.3 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.6158, allocations: 0 / 483.7 MB, free: 12.3 MB / 379.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002861/0.6187, allocations: 1.078 MB / 484.7 MB, free: 11.22 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.6188, allocations: 11.95 kB / 484.7 MB, free: 11.21 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.6188, allocations: 4 kB / 484.7 MB, free: 11.2 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.6203, allocations: 383.2 kB / 485.1 MB, free: 10.83 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.6214, allocations: 119.8 kB / 485.2 MB, free: 10.71 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008537/0.63, allocations: 3.997 MB / 489.2 MB, free: 6.594 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.6312, allocations: 71.48 kB / 489.3 MB, free: 6.523 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.6313, allocations: 32.17 kB / 489.3 MB, free: 6.492 MB / 379.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.6315, allocations: 126.6 kB / 489.5 MB, free: 6.363 MB / 379.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003323/0.6349, allocations: 1.136 MB / 490.6 MB, free: 5.215 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.6353, allocations: 86.97 kB / 490.7 MB, free: 5.129 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.6358, allocations: 112.5 kB / 490.8 MB, free: 5.012 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.6358, allocations: 8 kB / 490.8 MB, free: 5.004 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6358, allocations: 0 / 490.8 MB, free: 5.004 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.6358, allocations: 3.984 kB / 490.8 MB, free: 5 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/0.642, allocations: 2.335 MB / 493.1 MB, free: 2.617 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6421, allocations: 0 / 493.1 MB, free: 2.617 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008925/0.643, allocations: 87.88 kB / 493.2 MB, free: 2.531 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.6445, allocations: 376.6 kB / 493.6 MB, free: 2.16 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.6446, allocations: 3.984 kB / 493.6 MB, free: 2.156 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008113/0.6528, allocations: 3.968 MB / 497.6 MB, free: 14.07 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.6528, allocations: 7.938 kB / 497.6 MB, free: 14.07 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.6571, allocations: 1.787 MB / 499.4 MB, free: 12.26 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009388/0.6581, allocations: 283.8 kB / 499.6 MB, free: 11.96 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.6583, allocations: 4 kB / 499.6 MB, free: 11.96 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008426/0.6592, allocations: 39.95 kB / 499.7 MB, free: 11.92 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/0.6595, allocations: 76.66 kB / 499.8 MB, free: 11.84 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.6596, allocations: 19.98 kB / 499.8 MB, free: 11.82 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.6609, allocations: 0.5889 MB / 0.4886 GB, free: 11.24 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.661, allocations: 4 kB / 0.4886 GB, free: 11.23 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001675/0.6626, allocations: 326.9 kB / 0.4889 GB, free: 10.91 MB / 395.1 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004766/0.6674, allocations: 2.367 MB / 0.4913 GB, free: 8.512 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003046/0.6705, allocations: 1.141 MB / 0.4924 GB, free: 7.359 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.6706, allocations: 0 / 0.4924 GB, free: 7.359 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.6725, allocations: 0.7344 MB / 0.4931 GB, free: 6.613 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.6743, allocations: 202.8 kB / 0.4933 GB, free: 6.422 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008547/0.6829, allocations: 2.361 MB / 0.4956 GB, free: 4.008 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.6845, allocations: 1.377 MB / 0.4969 GB, free: 2.605 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.6856, allocations: 407.3 kB / 0.4973 GB, free: 2.207 MB / 395.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6856, allocations: 0 / 0.4973 GB, free: 2.207 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.385/4.071, allocations: 27.23 MB / 0.5239 GB, free: 110.2 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat