Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.316e-05, allocations: 4 kB / 255.4 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09709, allocations: 44.51 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5322, allocations: 76.18 MB / 376.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5325, allocations: 69.53 kB / 376.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06679/0.5994, allocations: 16.38 MB / 392.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5994, allocations: 0 / 392.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.52e-05/0.5995, allocations: 19.47 kB / 392.6 MB, free: 10.47 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.003736/0.6033, allocations: 1.168 MB / 393.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.6033, allocations: 11.66 kB / 393.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004317/0.6038, allocations: 137.9 kB / 393.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.6042, allocations: 124 kB / 394 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.6064, allocations: 0.717 MB / 394.8 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.6065, allocations: 62.59 kB / 394.8 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.6067, allocations: 90.66 kB / 394.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.6096, allocations: 1.179 MB / 396.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.6097, allocations: 0 / 396.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.6099, allocations: 34.91 kB / 396.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.6099, allocations: 23.38 kB / 396.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.6127, allocations: 1.011 MB / 397.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009115/0.6218, allocations: 3.784 MB / 400.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.6243, allocations: 1.936 MB / 402.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.6258, allocations: 0.6385 MB / 403.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.012e-05/0.6259, allocations: 16.59 kB / 403.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.6259, allocations: 38.53 kB / 403.6 MB, free: 6.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.868e-06/0.626, allocations: 0 / 403.6 MB, free: 6.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.005206/0.6312, allocations: 2.209 MB / 405.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.6313, allocations: 59.72 kB / 405.8 MB, free: 5.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.6324, allocations: 0.6125 MB / 406.5 MB, free: 5.578 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.6326, allocations: 35.64 kB / 406.5 MB, free: 5.547 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.6329, allocations: 409.7 kB / 406.9 MB, free: 5.309 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.6332, allocations: 234.9 kB / 407.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.6332, allocations: 12.38 kB / 407.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6334, allocations: 385.2 kB / 407.5 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007295/0.6341, allocations: 342.6 kB / 407.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.6349, allocations: 405.4 kB / 408.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007685/0.6357, allocations: 370.1 kB / 408.6 MB, free: 4.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.6357, allocations: 3.875 kB / 408.6 MB, free: 4.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002628/0.6384, allocations: 1.158 MB / 409.8 MB, free: 4.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6384, allocations: 11.88 kB / 409.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6385, allocations: 0 / 409.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.6401, allocations: 452.3 kB / 410.2 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/0.6409, allocations: 97.81 kB / 410.3 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.6526, allocations: 8.452 MB / 418.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008697/0.6535, allocations: 34 kB / 418.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.6536, allocations: 19.53 kB / 418.8 MB, free: 14.01 MB / 330.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.0002634/0.6539, allocations: 148.2 kB / 419 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.6541, allocations: 81.05 kB / 419 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.6545, allocations: 107.5 kB / 419.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6545, allocations: 7.75 kB / 419.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.6545, allocations: 0 / 419.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6545, allocations: 7.859 kB / 419.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00831/0.6629, allocations: 2.446 MB / 421.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.6629, allocations: 7.875 kB / 421.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.664, allocations: 87.12 kB / 421.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002638/0.6666, allocations: 446.6 kB / 422.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/0.6669, allocations: 14.84 kB / 422.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/0.6846, allocations: 8.384 MB / 430.5 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/0.6846, allocations: 8.094 kB / 430.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006046/0.6907, allocations: 1.805 MB / 432.3 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.6918, allocations: 233.9 kB / 432.6 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/0.6921, allocations: 19.67 kB / 432.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6933, allocations: 31.59 kB / 432.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004589/0.6938, allocations: 79.64 kB / 432.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/0.6939, allocations: 19.62 kB / 432.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001466/0.6954, allocations: 498.5 kB / 433.2 MB, free: 4.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.6954, allocations: 0 / 433.2 MB, free: 4.508 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002628/0.6981, allocations: 250.8 kB / 433.4 MB, free: 4.484 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.006994/0.7051, allocations: 2.516 MB / 436 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004449/0.7096, allocations: 1.42 MB / 437.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.7097, allocations: 0 / 437.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003609/0.7133, allocations: 1.067 MB / 438.5 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.7159, allocations: 194.4 kB / 438.6 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.7223, allocations: 2.108 MB / 440.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.724, allocations: 1.259 MB / 442 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007849/0.7248, allocations: 127.1 kB / 442.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/0.7256, allocations: 309.8 kB / 442.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7257, allocations: 0 / 442.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/0.8946, allocations: 22.47 MB / 464.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/0.8949, allocations: 197.7 kB / 465.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.364/4.259, allocations: 4.062 kB / 465.1 MB, free: 10.26 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat