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 2.019/2.019, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.884e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3151, allocations: 44.49 MB / 294.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4599, allocations: 75.52 MB / 369.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.4602, allocations: 71.97 kB / 369.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06881/0.5291, allocations: 16.2 MB / 386 MB, free: 5.969 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5291, allocations: 0 / 386 MB, free: 5.969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.708e-05/0.5292, allocations: 20 kB / 386 MB, free: 5.949 MB / 330.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.003084/0.5323, allocations: 1.165 MB / 387.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5324, allocations: 12.03 kB / 387.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.5327, allocations: 118.6 kB / 387.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.5345, allocations: 0.7167 MB / 388 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.5345, allocations: 28 kB / 388.1 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.5347, allocations: 48 kB / 388.1 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002463/0.5372, allocations: 0.9605 MB / 389.1 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.5397, allocations: 1.053 MB / 390.1 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.5398, allocations: 0 / 390.1 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.5399, allocations: 4 kB / 390.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.5399, allocations: 20 kB / 390.2 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008983/0.5489, allocations: 3.616 MB / 393.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.5517, allocations: 1.908 MB / 395.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.5532, allocations: 0.6419 MB / 396.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.399e-05/0.5533, allocations: 8.781 kB / 396.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5533, allocations: 35.34 kB / 396.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.387e-06/0.5533, allocations: 0 / 396.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.00506/0.5584, allocations: 2.085 MB / 398.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.5585, allocations: 60.19 kB / 398.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.5596, allocations: 0.5569 MB / 399.1 MB, free: 8.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.5597, allocations: 25.7 kB / 399.1 MB, free: 8.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.5601, allocations: 408 kB / 399.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.5604, allocations: 232.5 kB / 399.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.5604, allocations: 0 / 399.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.5606, allocations: 382.8 kB / 400.1 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.5614, allocations: 325.4 kB / 400.4 MB, free: 7.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008067/0.5622, allocations: 385.3 kB / 400.8 MB, free: 6.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/0.563, allocations: 368.3 kB / 401.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.563, allocations: 0 / 401.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002734/0.5658, allocations: 1.096 MB / 402.2 MB, free: 5.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.5658, allocations: 8 kB / 402.2 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5659, allocations: 0 / 402.2 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.5677, allocations: 451 kB / 402.7 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/0.5686, allocations: 91.88 kB / 402.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.5808, allocations: 8.165 MB / 410.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/0.5816, allocations: 23.94 kB / 411 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.5817, allocations: 20 kB / 411 MB, free: 11.93 MB / 362.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.0002501/0.582, allocations: 116.8 kB / 411.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002463/0.5845, allocations: 1.053 MB / 412.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.5847, allocations: 71.16 kB / 412.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.585, allocations: 98.86 kB / 412.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.585, allocations: 8 kB / 412.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5851, allocations: 0 / 412.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5851, allocations: 8.547 kB / 412.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/0.5913, allocations: 2.266 MB / 414.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5914, allocations: 0 / 414.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/0.5921, allocations: 87.95 kB / 414.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.5937, allocations: 442.9 kB / 415.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.5938, allocations: 15.98 kB / 415.1 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3177/0.9116, allocations: 8.09 MB / 423.2 MB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.9116, allocations: 0.5312 kB / 423.2 MB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/0.9174, allocations: 1.744 MB / 425 MB, free: 103.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.9185, allocations: 233.4 kB / 425.2 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/0.919, allocations: 3.156 kB / 425.2 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.9202, allocations: 26.28 kB / 425.2 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005828/0.9208, allocations: 75.44 kB / 425.3 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.921, allocations: 19.64 kB / 425.3 MB, free: 103.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001387/0.9224, allocations: 446.9 kB / 425.8 MB, free: 103.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.123e-06/0.9225, allocations: 0 / 425.8 MB, free: 103.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004506/0.927, allocations: 226 kB / 426 MB, free: 103.3 MB / 362.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.004605/0.9317, allocations: 2.434 MB / 428.4 MB, free: 102.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.9346, allocations: 1.362 MB / 429.8 MB, free: 102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.9347, allocations: 1.562 kB / 429.8 MB, free: 102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.9367, allocations: 1.012 MB / 430.8 MB, free: 101.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.9385, allocations: 176.8 kB / 431 MB, free: 101.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.9494, allocations: 2.04 MB / 433 MB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.9508, allocations: 1.258 MB / 434.3 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.9515, allocations: 119.8 kB / 434.4 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.9521, allocations: 306.2 kB / 434.7 MB, free: 100.4 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9521, allocations: 0 / 434.7 MB, free: 100.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/1.029, allocations: 20.28 MB / 455 MB, free: 90.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.029, allocations: 140.6 kB / 455.1 MB, free: 90 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/4.313, allocations: 3.938 kB / 455.1 MB, free: 90 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