Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.474e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3753, allocations: 44.51 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.5104, allocations: 74.56 MB / 368.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.5108, allocations: 83.95 kB / 368.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.5379, allocations: 6.047 MB / 374.9 MB, free: 1.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.538, allocations: 0 / 374.9 MB, free: 1.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.1e-05/0.538, allocations: 11.98 kB / 374.9 MB, free: 1.113 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001375/0.5394, allocations: 0.6034 MB / 375.5 MB, free: 472 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5395, allocations: 8.031 kB / 375.6 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.5397, allocations: 55.39 kB / 375.6 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.5403, allocations: 327 kB / 375.9 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.5404, allocations: 16 kB / 375.9 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5405, allocations: 24.05 kB / 376 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000645/0.5412, allocations: 209.5 kB / 376.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.542, allocations: 315.1 kB / 376.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.542, allocations: 0 / 376.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.5421, allocations: 3.953 kB / 376.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5421, allocations: 8 kB / 376.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.5452, allocations: 1.421 MB / 377.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.5458, allocations: 207.2 kB / 378.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.5462, allocations: 141.3 kB / 378.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.5463, allocations: 8.219 kB / 378.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.5468, allocations: 198.1 kB / 378.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.554e-06/0.5468, allocations: 3.938 kB / 378.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.001034/0.5478, allocations: 301.9 kB / 378.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.5479, allocations: 110.8 kB / 378.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.5483, allocations: 234.3 kB / 379.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.5484, allocations: 29.7 kB / 379.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.5486, allocations: 212.3 kB / 379.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5487, allocations: 90.66 kB / 379.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.5487, allocations: 4.031 kB / 379.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5489, allocations: 342.8 kB / 379.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.5491, allocations: 71.95 kB / 379.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.5494, allocations: 195.3 kB / 380 MB, free: 11.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.5497, allocations: 91.8 kB / 380.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.5497, allocations: 3.953 kB / 380.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009194/0.5507, allocations: 341.7 kB / 380.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5507, allocations: 11.94 kB / 380.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5507, allocations: 4 kB / 380.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.5512, allocations: 76.81 kB / 380.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.5516, allocations: 60.22 kB / 380.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.5541, allocations: 1.724 MB / 382.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.5545, allocations: 31.73 kB / 382.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.5546, allocations: 16 kB / 382.4 MB, free: 9.223 MB / 330.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0001641/0.5547, allocations: 120.7 kB / 382.5 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008906/0.5556, allocations: 306.2 kB / 382.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.5557, allocations: 31.62 kB / 382.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.5559, allocations: 35.47 kB / 382.8 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5559, allocations: 3.953 kB / 382.8 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.5559, allocations: 4 kB / 382.8 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.5559, allocations: 3.984 kB / 382.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.5568, allocations: 0.4996 MB / 383.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.5568, allocations: 4 kB / 383.4 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.5572, allocations: 31.92 kB / 383.4 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.5576, allocations: 76.84 kB / 383.5 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.5576, allocations: 11.95 kB / 383.5 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.5602, allocations: 1.729 MB / 385.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5602, allocations: 160 / 385.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.5615, allocations: 467.8 kB / 385.7 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.5617, allocations: 128.7 kB / 385.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.5618, allocations: 11.98 kB / 385.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.5621, allocations: 8 kB / 385.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.5623, allocations: 27.95 kB / 385.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.5623, allocations: 4 kB / 385.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003058/0.5626, allocations: 190 kB / 386 MB, free: 5.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5626, allocations: 4 kB / 386 MB, free: 5.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007513/0.5634, allocations: 95.69 kB / 386.1 MB, free: 5.227 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001731/0.5651, allocations: 1.079 MB / 387.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008999/0.5661, allocations: 357.9 kB / 387.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5661, allocations: 0.9375 kB / 387.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.5666, allocations: 245.6 kB / 387.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.567, allocations: 32.88 kB / 387.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.5689, allocations: 0.5383 MB / 388.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.5694, allocations: 0.8186 MB / 389.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.5696, allocations: 35.55 kB / 389.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.5699, allocations: 127.3 kB / 389.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5699, allocations: 0 / 389.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/0.6285, allocations: 6.425 MB / 395.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.6289, allocations: 196.7 kB / 396 MB, free: 11.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/3.421, allocations: 1.875 kB / 396 MB, free: 11.29 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat