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.002256/0.002256, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001079/0.001079, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.283e-05, allocations: 3.984 kB / 321.6 MB, free: 17.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.09962, allocations: 47.58 MB / 369.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5181, allocations: 83.94 MB / 453.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5185, allocations: 86.58 kB / 453.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09092/0.6095, allocations: 21.15 MB / 474.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6095, allocations: 0 / 474.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001568/0.6097, allocations: 39.92 kB / 474.4 MB, free: 5.711 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005207/0.6149, allocations: 1.367 MB / 475.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.615, allocations: 8.031 kB / 475.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006071/0.6156, allocations: 164.5 kB / 475.9 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/0.6161, allocations: 150.2 kB / 476.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.6193, allocations: 0.9492 MB / 477 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.6195, allocations: 78.03 kB / 477.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004796/0.62, allocations: 104 kB / 477.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004544/0.6245, allocations: 1.474 MB / 478.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.6246, allocations: 7.938 kB / 478.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.6248, allocations: 40 kB / 478.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.569e-05/0.625, allocations: 54.02 kB / 478.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/0.629, allocations: 1.281 MB / 480.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.6431, allocations: 4.969 MB / 485 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.6459, allocations: 1.426 MB / 486.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.648, allocations: 0.7 MB / 487.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.56e-05/0.6481, allocations: 12.56 kB / 487.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.6497, allocations: 0.5828 MB / 487.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 3.576e-06/0.6498, allocations: 0 / 487.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.003568/0.6534, allocations: 1.184 MB / 488.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.6535, allocations: 85.89 kB / 489 MB, free: 6.531 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.6555, allocations: 0.8244 MB / 489.9 MB, free: 5.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.6558, allocations: 49.62 kB / 489.9 MB, free: 5.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/0.6565, allocations: 0.5177 MB / 490.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.6569, allocations: 228.7 kB / 490.6 MB, free: 4.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.657, allocations: 16 kB / 490.7 MB, free: 4.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.6572, allocations: 346.8 kB / 491 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.6582, allocations: 373.4 kB / 491.4 MB, free: 4.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.6593, allocations: 0.5066 MB / 491.9 MB, free: 3.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.6604, allocations: 411 kB / 492.3 MB, free: 3.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6605, allocations: 4 kB / 492.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00304/0.6635, allocations: 1.148 MB / 493.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.6636, allocations: 11.98 kB / 493.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6636, allocations: 4 kB / 493.4 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.6652, allocations: 388.5 kB / 493.8 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.6662, allocations: 123.8 kB / 493.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009013/0.6753, allocations: 4.111 MB / 498.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.6765, allocations: 87.55 kB / 498.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.6766, allocations: 24 kB / 498.2 MB, free: 13.16 MB / 378.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: 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.0003105/0.6769, allocations: 151.5 kB / 498.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.6773, allocations: 90.88 kB / 498.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.6777, allocations: 124.5 kB / 498.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.6777, allocations: 8 kB / 498.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6777, allocations: 4.125 kB / 498.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.6778, allocations: 11.88 kB / 498.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/0.6848, allocations: 2.541 MB / 0.4893 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.6849, allocations: 0 / 0.4893 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009178/0.6858, allocations: 83.88 kB / 0.4894 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.6873, allocations: 380.6 kB / 0.4898 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.6875, allocations: 15.98 kB / 0.4898 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00874/0.6963, allocations: 4.068 MB / 0.4938 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6963, allocations: 4 kB / 0.4938 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/0.701, allocations: 1.857 MB / 0.4956 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009457/0.702, allocations: 283.8 kB / 0.4959 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.7022, allocations: 23.94 kB / 0.4959 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/0.7031, allocations: 47.95 kB / 0.4959 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/0.7035, allocations: 80.59 kB / 0.496 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/0.7036, allocations: 24.12 kB / 0.496 GB, free: 3.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.7051, allocations: 0.6592 MB / 0.4967 GB, free: 2.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7051, allocations: 3.938 kB / 0.4967 GB, free: 2.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001717/0.7069, allocations: 342.9 kB / 0.497 GB, free: 2.141 MB / 378.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: 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.004988/0.7119, allocations: 2.437 MB / 0.4994 GB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.7152, allocations: 1.195 MB / 0.5005 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.7153, allocations: 0 / 0.5005 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.7174, allocations: 0.7642 MB / 0.5013 GB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.7193, allocations: 235.4 kB / 0.5015 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/0.7284, allocations: 2.447 MB / 0.5039 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.73, allocations: 1.377 MB / 0.5053 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.7311, allocations: 415.3 kB / 0.5056 GB, free: 9.156 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7311, allocations: 0 / 0.5056 GB, free: 9.156 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.392/4.123, allocations: 27.68 MB / 0.5327 GB, free: 122.4 MB / 410.7 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