Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001332/0.001332, allocations: 179.2 kB / 17.01 MB, free: 5.121 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.457/1.457, allocations: 205.4 MB / 223.1 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.0008813/0.0008813, allocations: 100.2 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002491/0.0002492, allocations: 8 kB / 328.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2662, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3716, allocations: 84.04 MB / 460 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.372, allocations: 95.94 kB / 460.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05246/0.4244, allocations: 21.1 MB / 481.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4245, allocations: 0 / 481.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.357e-05/0.4246, allocations: 36 kB / 481.2 MB, free: 7.191 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.002932/0.4275, allocations: 1.532 MB / 482.7 MB, free: 5.602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4276, allocations: 12.03 kB / 482.7 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002219/0.4278, allocations: 168.5 kB / 482.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.4281, allocations: 150.2 kB / 483 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.4297, allocations: 0.9608 MB / 484 MB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.4298, allocations: 78.03 kB / 484.1 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.4299, allocations: 100 kB / 484.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.4324, allocations: 1.524 MB / 485.7 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.4325, allocations: 4 kB / 485.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.4326, allocations: 47.98 kB / 485.8 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.4327, allocations: 46.02 kB / 485.8 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.4349, allocations: 1.378 MB / 487.2 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007159/0.4421, allocations: 4.973 MB / 492.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.4437, allocations: 1.456 MB / 493.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.4438, allocations: 8.5 kB / 493.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009549/0.4447, allocations: 0.6317 MB / 494.2 MB, free: 9.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.4447, allocations: 0 / 494.2 MB, free: 9.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.00551/0.4503, allocations: 2.459 MB / 496.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.4503, allocations: 85.77 kB / 496.8 MB, free: 7.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.4517, allocations: 0.8436 MB / 497.6 MB, free: 6.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.434e-05/0.4518, allocations: 41.7 kB / 497.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/0.4524, allocations: 0.5115 MB / 498.2 MB, free: 5.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.4527, allocations: 236.6 kB / 498.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.4527, allocations: 12 kB / 498.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4529, allocations: 334 kB / 498.8 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.4535, allocations: 417.7 kB / 499.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.4543, allocations: 0.5515 MB / 499.7 MB, free: 4.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.4549, allocations: 453.9 kB / 0.4884 GB, free: 3.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.455, allocations: 4 kB / 0.4884 GB, free: 3.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002097/0.4571, allocations: 1.284 MB / 0.4897 GB, free: 2.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.4571, allocations: 15.89 kB / 0.4897 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4571, allocations: 11.92 kB / 0.4897 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008903/0.458, allocations: 395.2 kB / 0.4901 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.4585, allocations: 107.9 kB / 0.4902 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2278/0.6863, allocations: 4.25 MB / 0.4943 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008122/0.6872, allocations: 85.56 kB / 0.4944 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.6873, allocations: 22.88 kB / 0.4945 GB, free: 101.1 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.0009302/0.6882, allocations: 0.4915 MB / 0.4949 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.6884, allocations: 92.09 kB / 0.495 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.6887, allocations: 117.3 kB / 0.4951 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.6887, allocations: 8.219 kB / 0.4951 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6887, allocations: 1.078 kB / 0.4951 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.6887, allocations: 3.562 kB / 0.4951 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.6928, allocations: 2.586 MB / 0.4977 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.6928, allocations: 3.953 kB / 0.4977 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.6932, allocations: 88.22 kB / 0.4978 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008074/0.694, allocations: 389.6 kB / 0.4981 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.6941, allocations: 17.94 kB / 0.4981 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/0.6992, allocations: 4.218 MB / 0.5023 GB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6992, allocations: 0 / 0.5023 GB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.702, allocations: 1.985 MB / 0.5042 GB, free: 98.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/0.7025, allocations: 284.6 kB / 0.5045 GB, free: 98.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7027, allocations: 11.72 kB / 0.5045 GB, free: 98.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.7031, allocations: 55.64 kB / 0.5045 GB, free: 98.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.7033, allocations: 79.53 kB / 0.5046 GB, free: 98.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.7033, allocations: 18.41 kB / 0.5046 GB, free: 98.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000787/0.7041, allocations: 0.664 MB / 0.5053 GB, free: 97.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7041, allocations: 3.844 kB / 0.5053 GB, free: 97.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001065/0.7052, allocations: 349.8 kB / 0.5056 GB, free: 97.85 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.002947/0.7082, allocations: 2.55 MB / 0.5081 GB, free: 96.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.7106, allocations: 1.286 MB / 0.5094 GB, free: 95.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7106, allocations: 0 / 0.5094 GB, free: 95.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.7118, allocations: 0.8169 MB / 0.5102 GB, free: 95.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7128, allocations: 237.8 kB / 0.5104 GB, free: 95.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.7186, allocations: 6.089 MB / 0.5163 GB, free: 91.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.7194, allocations: 1.411 MB / 0.5177 GB, free: 90.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.7199, allocations: 172.1 kB / 0.5179 GB, free: 90.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.7203, allocations: 415.5 kB / 0.5183 GB, free: 90.13 MB / 378.7 MB Notification: Performance of SimCode: time 6.241e-06/0.7203, allocations: 0 / 0.5183 GB, free: 90.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04205/0.7624, allocations: 25.4 MB / 0.5431 GB, free: 70.38 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.7627, allocations: 259.3 kB / 0.5433 GB, free: 70.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.105, allocations: 0 / 0.5433 GB, free: 70.02 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_3.2.3_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat