Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.877e-05, allocations: 0 / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09425, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.5207, allocations: 77.99 MB / 378 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.5211, allocations: 85.7 kB / 378.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0577/0.5788, allocations: 13.39 MB / 391.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5789, allocations: 224 / 391.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.11e-05/0.579, allocations: 19.44 kB / 391.5 MB, free: 11.32 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003066/0.5821, allocations: 0.9309 MB / 392.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5822, allocations: 11.72 kB / 392.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004242/0.5826, allocations: 110.4 kB / 392.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.5829, allocations: 93.47 kB / 392.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.5847, allocations: 0.6132 MB / 393.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-05/0.5849, allocations: 46.38 kB / 393.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.5851, allocations: 68.23 kB / 393.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.5874, allocations: 0.867 MB / 394.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.5875, allocations: 0 / 394.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.5876, allocations: 37.7 kB / 394.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.5877, allocations: 24.56 kB / 394.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.5898, allocations: 0.7042 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007222/0.5971, allocations: 2.824 MB / 397.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.5986, allocations: 0.7167 MB / 398.5 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008479/0.5995, allocations: 328.3 kB / 398.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.5996, allocations: 4.203 kB / 398.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/0.6005, allocations: 355.6 kB / 399.2 MB, free: 8.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 5.43e-06/0.6006, allocations: 0 / 399.2 MB, free: 8.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.00181/0.6024, allocations: 0.6421 MB / 399.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.6025, allocations: 110.6 kB / 399.9 MB, free: 8.625 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009933/0.6035, allocations: 0.5061 MB / 400.5 MB, free: 8.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.6037, allocations: 37.98 kB / 400.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.6041, allocations: 344.5 kB / 400.8 MB, free: 8.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.6043, allocations: 144.2 kB / 401 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.6043, allocations: 11.06 kB / 401 MB, free: 8.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6044, allocations: 359.5 kB / 401.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.6049, allocations: 200.1 kB / 401.5 MB, free: 7.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.6055, allocations: 329.7 kB / 401.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.606, allocations: 224.7 kB / 402.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.606, allocations: 3.953 kB / 402.1 MB, free: 7.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001738/0.6078, allocations: 0.703 MB / 402.8 MB, free: 7.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.6078, allocations: 10.86 kB / 402.8 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.6078, allocations: 3.844 kB / 402.8 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007825/0.6086, allocations: 209 kB / 403 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.6093, allocations: 78.09 kB / 403.1 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.6137, allocations: 2.77 MB / 405.8 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.6146, allocations: 50.42 kB / 405.9 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.6147, allocations: 15.53 kB / 405.9 MB, free: 5.926 MB / 314.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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.6149, allocations: 144.8 kB / 406 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.615, allocations: 58.55 kB / 406.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.6152, allocations: 65.64 kB / 406.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6153, allocations: 7.812 kB / 406.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6153, allocations: 4 kB / 406.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.6153, allocations: 0 / 406.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.6191, allocations: 1.732 MB / 407.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.6192, allocations: 96 / 407.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.6197, allocations: 46.69 kB / 408 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006799/0.6204, allocations: 195.9 kB / 408.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.6205, allocations: 10.66 kB / 408.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/0.6247, allocations: 2.642 MB / 410.8 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6248, allocations: 0 / 410.8 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.6273, allocations: 1.089 MB / 411.9 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.6279, allocations: 195.9 kB / 412.1 MB, free: 18.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.628, allocations: 7.125 kB / 412.1 MB, free: 18.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.6286, allocations: 33.84 kB / 412.1 MB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.6288, allocations: 38.34 kB / 412.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.6288, allocations: 18.77 kB / 412.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007614/0.6296, allocations: 410.6 kB / 412.6 MB, free: 18.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6296, allocations: 0 / 412.6 MB, free: 18.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001225/0.6309, allocations: 204.2 kB / 412.8 MB, free: 18.62 MB / 330.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002976/0.6339, allocations: 1.72 MB / 414.5 MB, free: 17.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.6356, allocations: 0.6667 MB / 415.2 MB, free: 17.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6357, allocations: 3.875 kB / 415.2 MB, free: 17.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009691/0.6366, allocations: 441.2 kB / 415.6 MB, free: 17.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.6379, allocations: 133.3 kB / 415.7 MB, free: 17.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.6417, allocations: 1.286 MB / 417 MB, free: 16.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/0.6427, allocations: 1.092 MB / 418.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.6433, allocations: 103.1 kB / 418.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/0.6438, allocations: 242 kB / 418.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6438, allocations: 0 / 418.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/0.6963, allocations: 14.74 MB / 433.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003699/0.6967, allocations: 227.3 kB / 433.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/3.764, allocations: 4 kB / 433.4 MB, free: 8.32 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat