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.001513/0.001513, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.96/1.96, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001152/0.001152, allocations: 99.53 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003917, allocations: 11.98 kB / 327.1 MB, free: 96 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3309, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4671, allocations: 84.04 MB / 458.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/0.4675, allocations: 87.95 kB / 458.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08533/0.5529, allocations: 21.11 MB / 479.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5529, allocations: 0 / 479.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000109/0.5531, allocations: 32 kB / 479.9 MB, free: 7.176 MB / 362.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.004542/0.5576, allocations: 1.536 MB / 481.5 MB, free: 5.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.5577, allocations: 15.97 kB / 481.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00036/0.558, allocations: 160.6 kB / 481.6 MB, free: 5.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.5584, allocations: 154.2 kB / 481.8 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.5608, allocations: 0.9569 MB / 482.7 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.15e-05/0.5609, allocations: 78.03 kB / 482.8 MB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.5612, allocations: 104 kB / 482.9 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/0.5652, allocations: 1.528 MB / 484.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.5653, allocations: 0 / 484.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.5654, allocations: 43.98 kB / 484.5 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/0.5655, allocations: 42.03 kB / 484.5 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.5696, allocations: 1.382 MB / 485.9 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.5809, allocations: 4.973 MB / 490.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/0.5838, allocations: 1.464 MB / 492.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-05/0.5839, allocations: 12.56 kB / 492.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.5855, allocations: 0.6161 MB / 493 MB, free: 9.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.507e-06/0.5856, allocations: 0 / 493 MB, free: 9.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.01058/0.5961, allocations: 2.455 MB / 495.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.5963, allocations: 85.77 kB / 495.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.5981, allocations: 0.8475 MB / 496.4 MB, free: 6.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.5982, allocations: 37.7 kB / 496.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/0.5988, allocations: 0.5178 MB / 496.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.5991, allocations: 236.6 kB / 497.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.5992, allocations: 8 kB / 497.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5994, allocations: 338.8 kB / 497.5 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.6006, allocations: 421.7 kB / 497.9 MB, free: 4.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.602, allocations: 0.5476 MB / 498.4 MB, free: 3.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.6033, allocations: 457.9 kB / 498.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6033, allocations: 0 / 498.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003505/0.6068, allocations: 1.234 MB / 0.4884 GB, free: 2.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.6069, allocations: 11.95 kB / 0.4884 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.6069, allocations: 7.938 kB / 0.4884 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.6085, allocations: 399.2 kB / 0.4888 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009109/0.6094, allocations: 115.8 kB / 0.4889 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2835/0.8929, allocations: 4.249 MB / 0.4931 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.8941, allocations: 85.25 kB / 0.4931 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/0.8942, allocations: 29.05 kB / 0.4932 GB, free: 100.4 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 () * Number of clocked 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.001207/0.8954, allocations: 497.8 kB / 0.4936 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/0.8958, allocations: 88.66 kB / 0.4937 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.8962, allocations: 120.8 kB / 0.4938 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.8962, allocations: 6.875 kB / 0.4938 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8962, allocations: 0 / 0.4938 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.8963, allocations: 3.234 kB / 0.4939 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006859/0.9031, allocations: 2.583 MB / 0.4964 GB, free: 99.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.9032, allocations: 3.953 kB / 0.4964 GB, free: 99.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/0.9041, allocations: 88.03 kB / 0.4965 GB, free: 99.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.9056, allocations: 389.5 kB / 0.4968 GB, free: 99.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/0.9058, allocations: 20.17 kB / 0.4969 GB, free: 99.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00841/0.9142, allocations: 4.217 MB / 0.501 GB, free: 98.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9142, allocations: 2.375 kB / 0.501 GB, free: 98.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/0.9195, allocations: 1.974 MB / 0.5029 GB, free: 97.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/0.9204, allocations: 289 kB / 0.5032 GB, free: 97.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.9206, allocations: 17.69 kB / 0.5032 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000821/0.9214, allocations: 52.03 kB / 0.5032 GB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.9218, allocations: 81.22 kB / 0.5033 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.9219, allocations: 19.5 kB / 0.5033 GB, free: 97.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001297/0.9232, allocations: 0.6653 MB / 0.504 GB, free: 97.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.9232, allocations: 0 / 0.504 GB, free: 97.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001683/0.9249, allocations: 346.7 kB / 0.5043 GB, free: 97.16 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) * Number of clocked states: 0 () * 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.005123/0.93, allocations: 2.557 MB / 0.5068 GB, free: 95.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003487/0.9336, allocations: 1.285 MB / 0.5081 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.9336, allocations: 0 / 0.5081 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.9357, allocations: 0.8145 MB / 0.5089 GB, free: 94.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.9375, allocations: 229 kB / 0.5091 GB, free: 94.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009759/0.9472, allocations: 6.091 MB / 0.515 GB, free: 90.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.9484, allocations: 1.377 MB / 0.5164 GB, free: 89.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008819/0.9493, allocations: 421.2 kB / 0.5168 GB, free: 89.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.9493, allocations: 4 kB / 0.5168 GB, free: 89.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.091/4.04, allocations: 27.22 MB / 0.5434 GB, free: 68.3 MB / 378.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