Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.763e-05, allocations: 2.688 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09712, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.5438, allocations: 75.53 MB / 369.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5442, allocations: 70.27 kB / 369.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06729/0.6115, allocations: 16.19 MB / 386.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6115, allocations: 7.906 kB / 386.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001624/0.6117, allocations: 27.03 kB / 386.1 MB, free: 18.63 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.005167/0.6169, allocations: 1.16 MB / 387.3 MB, free: 17.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.617, allocations: 7.781 kB / 387.3 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006496/0.6177, allocations: 120.9 kB / 387.4 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.6207, allocations: 0.715 MB / 388.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.6208, allocations: 31.19 kB / 388.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.6211, allocations: 55.56 kB / 388.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003859/0.625, allocations: 0.9564 MB / 389.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003754/0.6288, allocations: 1.06 MB / 390.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.6289, allocations: 4 kB / 390.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.6291, allocations: 0 / 390.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.6291, allocations: 23.25 kB / 390.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.6431, allocations: 3.608 MB / 393.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.6472, allocations: 1.914 MB / 395.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.6494, allocations: 0.6316 MB / 396.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.6495, allocations: 11.16 kB / 396.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.6496, allocations: 38.66 kB / 396.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 5.079e-06/0.6496, allocations: 0 / 396.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.007389/0.657, allocations: 2.081 MB / 398.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.6571, allocations: 64 kB / 398.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.6587, allocations: 0.5566 MB / 399.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.6589, allocations: 25.7 kB / 399.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/0.6594, allocations: 407.8 kB / 399.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/0.6599, allocations: 227.9 kB / 399.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.66, allocations: 0 / 399.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002984/0.6603, allocations: 385.8 kB / 400.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.6614, allocations: 328.6 kB / 400.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.6623, allocations: 384 kB / 400.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008027/0.6631, allocations: 365.9 kB / 401.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.6631, allocations: 0 / 401.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002757/0.6659, allocations: 1.094 MB / 402.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.666, allocations: 3.781 kB / 402.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.666, allocations: 0 / 402.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.6677, allocations: 458.3 kB / 402.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008691/0.6686, allocations: 93.44 kB / 402.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.681, allocations: 8.17 MB / 411 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/0.6818, allocations: 27.75 kB / 411 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.6819, allocations: 20.97 kB / 411.1 MB, free: 5.469 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.6822, allocations: 112.6 kB / 411.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002469/0.6846, allocations: 1.057 MB / 412.2 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.6848, allocations: 69.84 kB / 412.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.6852, allocations: 96.92 kB / 412.4 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6852, allocations: 7.656 kB / 412.4 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6852, allocations: 0 / 412.4 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.6852, allocations: 3.984 kB / 412.4 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006183/0.6914, allocations: 2.275 MB / 414.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6915, allocations: 0 / 414.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.6923, allocations: 81.83 kB / 414.8 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/0.6941, allocations: 453.3 kB / 415.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.6942, allocations: 7.938 kB / 415.2 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.7074, allocations: 8.09 MB / 423.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.7075, allocations: 4.219 kB / 423.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/0.7118, allocations: 1.748 MB / 425.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/0.7125, allocations: 228.2 kB / 425.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.7127, allocations: 8 kB / 425.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.7134, allocations: 27.97 kB / 425.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/0.7138, allocations: 72.45 kB / 425.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/0.7139, allocations: 19.98 kB / 425.4 MB, free: 8.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009943/0.7149, allocations: 446.8 kB / 425.8 MB, free: 8.504 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7149, allocations: 0 / 425.8 MB, free: 8.504 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001802/0.7167, allocations: 224 kB / 426.1 MB, free: 8.285 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004857/0.7216, allocations: 2.438 MB / 428.5 MB, free: 5.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003297/0.7249, allocations: 1.361 MB / 429.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.725, allocations: 0 / 429.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.7273, allocations: 1.016 MB / 430.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.7289, allocations: 170.2 kB / 431 MB, free: 3.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.7352, allocations: 2.033 MB / 433.1 MB, free: 1.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.7366, allocations: 1.263 MB / 434.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006656/0.7373, allocations: 118 kB / 434.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/0.738, allocations: 307.3 kB / 434.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.738, allocations: 0 / 434.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.8545, allocations: 20.3 MB / 455.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003817/0.855, allocations: 141.1 kB / 455.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.738/4.593, allocations: 3.938 kB / 455.2 MB, free: 10.95 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat