Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 202.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009247/0.0009245, allocations: 90.05 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.06e-05, allocations: 4 kB / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4668, allocations: 81.89 MB / 477.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.4672, allocations: 85.84 kB / 477.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02324/0.4904, allocations: 6.54 MB / 483.8 MB, free: 5.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4905, allocations: 4 kB / 483.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.4905, allocations: 8 kB / 483.8 MB, free: 5.832 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001451/0.492, allocations: 0.6301 MB / 484.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.4921, allocations: 12.03 kB / 484.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/0.4926, allocations: 74.89 kB / 484.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.4933, allocations: 339.2 kB / 484.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.4933, allocations: 12 kB / 484.9 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.4934, allocations: 24 kB / 484.9 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006434/0.4941, allocations: 215.7 kB / 485.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.4947, allocations: 313.3 kB / 485.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.4947, allocations: 4 kB / 485.4 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.4947, allocations: 5.094 kB / 485.4 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4948, allocations: 8 kB / 485.4 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.4973, allocations: 1.443 MB / 486.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.4978, allocations: 215.1 kB / 487.1 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.4982, allocations: 141.3 kB / 487.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.4982, allocations: 8.234 kB / 487.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.4987, allocations: 202.4 kB / 487.4 MB, free: 2.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.377e-06/0.4987, allocations: 0 / 487.4 MB, free: 2.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009615/0.4997, allocations: 297.3 kB / 487.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.4997, allocations: 106.8 kB / 487.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.5001, allocations: 248.7 kB / 488.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.5001, allocations: 25.7 kB / 488.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5002, allocations: 222.2 kB / 488.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.5003, allocations: 92.59 kB / 488.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.5003, allocations: 3.938 kB / 488.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.5004, allocations: 349.4 kB / 488.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.5005, allocations: 65.31 kB / 488.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.5007, allocations: 188.8 kB / 489 MB, free: 1.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.5009, allocations: 94.14 kB / 489.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.501, allocations: 5.969 kB / 489.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007448/0.5017, allocations: 337.1 kB / 489.4 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.5018, allocations: 9.406 kB / 489.4 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5018, allocations: 4 kB / 489.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.5022, allocations: 80.06 kB / 489.5 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.5025, allocations: 59.08 kB / 489.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.5047, allocations: 1.733 MB / 491.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.5051, allocations: 27.73 kB / 491.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.5052, allocations: 15.81 kB / 491.3 MB, free: 15.09 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: 11 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.5053, allocations: 123.8 kB / 491.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009024/0.5063, allocations: 302.6 kB / 491.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.5064, allocations: 31.62 kB / 491.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.5065, allocations: 37.59 kB / 491.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5065, allocations: 4 kB / 491.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.5065, allocations: 1.875 kB / 491.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.5066, allocations: 7.984 kB / 491.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009579/0.5075, allocations: 0.5121 MB / 492.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5076, allocations: 0 / 492.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.5078, allocations: 35.84 kB / 492.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003205/0.5082, allocations: 74.2 kB / 492.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.5082, allocations: 3.984 kB / 492.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.5106, allocations: 1.726 MB / 494.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5106, allocations: 4.031 kB / 494.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.5117, allocations: 456.2 kB / 494.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.512, allocations: 141.9 kB / 494.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.512, allocations: 3.953 kB / 494.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.5123, allocations: 15.92 kB / 494.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5124, allocations: 27.03 kB / 494.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.5125, allocations: 15.3 kB / 494.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002843/0.5128, allocations: 190.6 kB / 495 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.345e-06/0.5128, allocations: 0 / 495 MB, free: 11.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009324/0.5137, allocations: 111.6 kB / 495.1 MB, free: 11.67 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/0.5154, allocations: 1.09 MB / 496.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000928/0.5163, allocations: 355.2 kB / 496.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5163, allocations: 0 / 496.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.5168, allocations: 255.5 kB / 496.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.5173, allocations: 42.19 kB / 496.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.5192, allocations: 0.5432 MB / 497.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.5198, allocations: 0.8185 MB / 498.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.5201, allocations: 31.28 kB / 498.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.5203, allocations: 125 kB / 498.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5203, allocations: 4 kB / 498.4 MB, free: 8.707 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.5581, allocations: 6.588 MB / 0.4931 GB, free: 2.242 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/0.5585, allocations: 192.8 kB / 0.4933 GB, free: 2.055 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.799, allocations: 3.938 kB / 0.4933 GB, free: 2.051 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat