Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",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.001559/0.001558, allocations: 181.7 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.273/2.273, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001156/0.001155, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.507e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 47.57 MB / 369.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5231, allocations: 83.25 MB / 452.4 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.5235, allocations: 89.55 kB / 452.5 MB, free: 9.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0597/0.5833, allocations: 13.51 MB / 466 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5833, allocations: 8 kB / 466 MB, free: 14.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.232e-05/0.5834, allocations: 16 kB / 466.1 MB, free: 14.18 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002784/0.5862, allocations: 0.9412 MB / 467 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5863, allocations: 8.031 kB / 467 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002992/0.5866, allocations: 110.5 kB / 467.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.5869, allocations: 90.97 kB / 467.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.5887, allocations: 0.6226 MB / 467.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.5888, allocations: 45.31 kB / 467.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.5889, allocations: 64 kB / 467.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.5913, allocations: 0.8802 MB / 468.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.5914, allocations: 0 / 468.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.5915, allocations: 31.95 kB / 468.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-05/0.5916, allocations: 41.23 kB / 468.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.5935, allocations: 0.7079 MB / 469.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006852/0.6004, allocations: 2.819 MB / 472.4 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.6018, allocations: 0.7182 MB / 473.1 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/0.6028, allocations: 325.4 kB / 473.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.6028, allocations: 8.312 kB / 473.5 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008527/0.6037, allocations: 365.9 kB / 473.8 MB, free: 6.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.627e-06/0.6037, allocations: 0 / 473.8 MB, free: 6.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.00193/0.6057, allocations: 0.6377 MB / 474.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.6058, allocations: 110.8 kB / 474.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.6069, allocations: 0.5037 MB / 475.1 MB, free: 4.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.6071, allocations: 33.7 kB / 475.1 MB, free: 4.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.6075, allocations: 386.4 kB / 475.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.6077, allocations: 138.1 kB / 475.6 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.6078, allocations: 4 kB / 475.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6079, allocations: 330.8 kB / 475.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005287/0.6085, allocations: 197 kB / 476.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.6091, allocations: 336.9 kB / 476.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.6098, allocations: 235.5 kB / 476.7 MB, free: 3.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.6098, allocations: 4 kB / 476.7 MB, free: 3.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001869/0.6117, allocations: 0.6774 MB / 477.4 MB, free: 2.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6117, allocations: 4 kB / 477.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.6118, allocations: 4 kB / 477.4 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008647/0.6126, allocations: 208.7 kB / 477.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.6132, allocations: 67.89 kB / 477.6 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/0.6186, allocations: 2.777 MB / 480.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.6193, allocations: 59.61 kB / 480.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.6194, allocations: 16 kB / 480.5 MB, free: 15.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.6196, allocations: 140.9 kB / 480.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.6198, allocations: 55.34 kB / 480.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.62, allocations: 65.06 kB / 480.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6201, allocations: 15.89 kB / 480.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6201, allocations: 3.984 kB / 480.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6201, allocations: 4.141 kB / 480.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/0.6247, allocations: 1.721 MB / 482.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.6248, allocations: 4 kB / 482.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.6256, allocations: 47.91 kB / 482.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.6268, allocations: 189.6 kB / 482.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.6269, allocations: 8 kB / 482.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007052/0.634, allocations: 2.647 MB / 485.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.6341, allocations: 3.938 kB / 485.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.6383, allocations: 1.088 MB / 486.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/0.6392, allocations: 188.4 kB / 486.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.6395, allocations: 15.95 kB / 486.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009877/0.6405, allocations: 31.97 kB / 486.7 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.6408, allocations: 43.94 kB / 486.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/0.6409, allocations: 15.98 kB / 486.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.6423, allocations: 405.5 kB / 487.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.558e-06/0.6423, allocations: 0 / 487.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001954/0.6443, allocations: 215.2 kB / 487.4 MB, free: 8.004 MB / 362.7 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005212/0.6496, allocations: 1.723 MB / 489.1 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003001/0.6527, allocations: 0.685 MB / 489.8 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.6527, allocations: 0 / 489.8 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.6544, allocations: 459 kB / 490.2 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.656, allocations: 132.7 kB / 490.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005645/0.6617, allocations: 1.296 MB / 491.7 MB, free: 3.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.6631, allocations: 1.078 MB / 492.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/0.664, allocations: 239.4 kB / 493 MB, free: 2.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/0.664, allocations: 0 / 493 MB, free: 2.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.037/3.701, allocations: 16.08 MB / 0.4971 GB, free: 2.164 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat