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"}) Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.302e-05, allocations: 4 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 50.41 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.6025, allocations: 81.93 MB / 425.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/0.6029, allocations: 81.33 kB / 425.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03608/0.639, allocations: 6.427 MB / 431.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6391, allocations: 0 / 431.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.6391, allocations: 8 kB / 431.6 MB, free: 6.812 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.001543/0.6407, allocations: 0.6141 MB / 432.2 MB, free: 6.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.6407, allocations: 8.031 kB / 432.2 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.6409, allocations: 76.64 kB / 432.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.6411, allocations: 51.38 kB / 432.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/0.6418, allocations: 329.2 kB / 432.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.6418, allocations: 33.58 kB / 432.7 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.6419, allocations: 41.33 kB / 432.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/0.6429, allocations: 373.3 kB / 433.1 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.6429, allocations: 0 / 433.1 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.643, allocations: 14.69 kB / 433.1 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.643, allocations: 8 kB / 433.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.6437, allocations: 231.5 kB / 433.4 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.6472, allocations: 1.499 MB / 434.9 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.6479, allocations: 227.9 kB / 435.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.6484, allocations: 144.2 kB / 435.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/0.6484, allocations: 8.219 kB / 435.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/0.649, allocations: 212.4 kB / 435.5 MB, free: 3.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.416e-06/0.649, allocations: 0 / 435.5 MB, free: 3.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.001171/0.6502, allocations: 317.8 kB / 435.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.6503, allocations: 114.8 kB / 435.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.6508, allocations: 263.1 kB / 436.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.6509, allocations: 32.89 kB / 436.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.6511, allocations: 216.9 kB / 436.4 MB, free: 2.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.6512, allocations: 94.72 kB / 436.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.6512, allocations: 7.375 kB / 436.5 MB, free: 2.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.6514, allocations: 339.4 kB / 436.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.6517, allocations: 77.52 kB / 436.9 MB, free: 2.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.6521, allocations: 206 kB / 437.1 MB, free: 2.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.6524, allocations: 102 kB / 437.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.6524, allocations: 4 kB / 437.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001048/0.6534, allocations: 375.4 kB / 437.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6535, allocations: 8 kB / 437.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6535, allocations: 8 kB / 437.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004722/0.654, allocations: 82.19 kB / 437.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.6544, allocations: 59.67 kB / 437.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/0.6572, allocations: 1.793 MB / 439.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.6577, allocations: 38.38 kB / 439.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.6578, allocations: 12 kB / 439.6 MB, free: 15.76 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.0001856/0.658, allocations: 133.7 kB / 439.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.6581, allocations: 35.69 kB / 439.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.6582, allocations: 39.91 kB / 439.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6582, allocations: 4 kB / 439.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6583, allocations: 0 / 439.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6583, allocations: 0 / 439.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.6593, allocations: 0.574 MB / 440.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6593, allocations: 0 / 440.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.6597, allocations: 28.17 kB / 440.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.6601, allocations: 86.16 kB / 440.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.6601, allocations: 3.312 kB / 440.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.6628, allocations: 1.798 MB / 442.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6628, allocations: 0 / 442.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.6642, allocations: 487 kB / 442.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.6644, allocations: 130.2 kB / 442.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/0.6645, allocations: 15.44 kB / 442.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.6649, allocations: 19.5 kB / 442.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.665, allocations: 27.27 kB / 442.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.6651, allocations: 8 kB / 442.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003324/0.6654, allocations: 207.7 kB / 443.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6655, allocations: 0 / 443.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007557/0.6662, allocations: 120.6 kB / 443.2 MB, free: 12.41 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.001815/0.668, allocations: 1.127 MB / 444.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.6691, allocations: 370.5 kB / 444.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6692, allocations: 4 kB / 444.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.6697, allocations: 246.7 kB / 445 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.6703, allocations: 59.12 kB / 445 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.6722, allocations: 0.564 MB / 445.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.6727, allocations: 0.8184 MB / 446.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.673, allocations: 35.23 kB / 446.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.6732, allocations: 122.8 kB / 446.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of SimCode: time 1.103e-06/0.6732, allocations: 0 / 446.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.709, allocations: 7.365 MB / 453.9 MB, free: 2.227 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/0.7094, allocations: 227.8 kB / 454.2 MB, free: 1.934 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.599, allocations: 7.531 kB / 454.2 MB, free: 1.93 MB / 362.7 MB 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