Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001137/0.001137, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008031/0.0008031, allocations: 97.08 kB / 297.2 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002182, allocations: 4 kB / 358 MB, free: 9.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.198, allocations: 51.49 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09349/0.2916, allocations: 85.95 MB / 495.5 MB, free: 4.598 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.2918, allocations: 91.94 kB / 495.6 MB, free: 4.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2511/0.543, allocations: 21.62 MB / 0.505 GB, free: 86.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.543, allocations: 1.031 kB / 0.5051 GB, free: 86.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001473/0.5432, allocations: 30.69 kB / 0.5051 GB, free: 86.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.005098/0.5483, allocations: 1.57 MB / 0.5066 GB, free: 86.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.394e-05/0.5484, allocations: 10.19 kB / 0.5066 GB, free: 86.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006675/0.5491, allocations: 167.5 kB / 0.5068 GB, free: 86.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008643/0.5499, allocations: 231.2 kB / 0.507 GB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.5519, allocations: 0.9507 MB / 0.5079 GB, free: 85.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.552, allocations: 79.47 kB / 0.508 GB, free: 85.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.5521, allocations: 103.6 kB / 0.5081 GB, free: 85.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.5545, allocations: 1.53 MB / 0.5096 GB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.5545, allocations: 2.656 kB / 0.5096 GB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.5547, allocations: 50.28 kB / 0.5097 GB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.5548, allocations: 44.83 kB / 0.5097 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.557, allocations: 1.382 MB / 0.511 GB, free: 85.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006407/0.5634, allocations: 5.005 MB / 0.5159 GB, free: 83.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.5647, allocations: 1.453 MB / 0.5173 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.5648, allocations: 12 kB / 0.5174 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007759/0.5655, allocations: 0.6152 MB / 0.518 GB, free: 82.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.5656, allocations: 0 / 0.518 GB, free: 82.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.004924/0.5705, allocations: 2.481 MB / 0.5204 GB, free: 81.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.5705, allocations: 89.52 kB / 0.5205 GB, free: 81.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/0.5715, allocations: 0.8461 MB / 0.5213 GB, free: 81.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.5716, allocations: 41.58 kB / 0.5213 GB, free: 81.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.5719, allocations: 0.5181 MB / 0.5218 GB, free: 80.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.572, allocations: 239.2 kB / 0.5221 GB, free: 80.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.5721, allocations: 12 kB / 0.5221 GB, free: 80.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.5721, allocations: 340 kB / 0.5224 GB, free: 80.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/0.5727, allocations: 414.9 kB / 0.5228 GB, free: 80.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.5734, allocations: 0.5537 MB / 0.5233 GB, free: 79.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.574, allocations: 451.9 kB / 0.5238 GB, free: 79.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.574, allocations: 2.344 kB / 0.5238 GB, free: 79.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001874/0.5759, allocations: 1.297 MB / 0.525 GB, free: 79.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5759, allocations: 6.969 kB / 0.525 GB, free: 79.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5759, allocations: 3.281 kB / 0.5251 GB, free: 79.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007841/0.5767, allocations: 398.6 kB / 0.5254 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.5772, allocations: 116 kB / 0.5255 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/0.5813, allocations: 4.266 MB / 0.5297 GB, free: 76.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006626/0.582, allocations: 90.41 kB / 0.5298 GB, free: 76.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.5821, allocations: 26.22 kB / 0.5298 GB, free: 76.44 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_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.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.0008454/0.5829, allocations: 493.2 kB / 0.5303 GB, free: 76.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.5831, allocations: 95.67 kB / 0.5304 GB, free: 76.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.5833, allocations: 121.2 kB / 0.5305 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5833, allocations: 10.58 kB / 0.5305 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5833, allocations: 0 / 0.5305 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5834, allocations: 3.844 kB / 0.5305 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.5869, allocations: 2.592 MB / 0.533 GB, free: 74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5869, allocations: 0 / 0.533 GB, free: 74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.5873, allocations: 86.19 kB / 0.5331 GB, free: 73.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007022/0.588, allocations: 383.6 kB / 0.5335 GB, free: 73.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.588, allocations: 23.56 kB / 0.5335 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/0.5921, allocations: 4.222 MB / 0.5376 GB, free: 69.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5922, allocations: 7.953 kB / 0.5376 GB, free: 69.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.5946, allocations: 1.967 MB / 0.5396 GB, free: 68.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.5952, allocations: 287.4 kB / 0.5398 GB, free: 67.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5953, allocations: 15.75 kB / 0.5399 GB, free: 67.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.5957, allocations: 53.78 kB / 0.5399 GB, free: 67.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.5959, allocations: 80.42 kB / 0.54 GB, free: 67.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.596, allocations: 20 kB / 0.54 GB, free: 67.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007432/0.5967, allocations: 0.6742 MB / 0.5407 GB, free: 67.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5967, allocations: 0 / 0.5407 GB, free: 67.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009406/0.5977, allocations: 350.5 kB / 0.541 GB, free: 66.77 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.002544/0.6002, allocations: 2.552 MB / 0.5435 GB, free: 64.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.602, allocations: 1.291 MB / 0.5447 GB, free: 63.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.602, allocations: 4 kB / 0.5448 GB, free: 63.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009488/0.6029, allocations: 0.8064 MB / 0.5455 GB, free: 62.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.6038, allocations: 234 kB / 0.5458 GB, free: 62.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.608, allocations: 5.853 MB / 0.5515 GB, free: 56.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/0.6087, allocations: 1.411 MB / 0.5529 GB, free: 54.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.6091, allocations: 174.7 kB / 0.553 GB, free: 54.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.6095, allocations: 419.3 kB / 0.5534 GB, free: 54.08 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6095, allocations: 0 / 0.5534 GB, free: 54.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/0.6488, allocations: 25.56 MB / 0.5784 GB, free: 29.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.649, allocations: 274.8 kB / 0.5786 GB, free: 28.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.978, allocations: 7.078 kB / 0.5787 GB, free: 28.71 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat