Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.764e-05, allocations: 0 / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2593, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.4155, allocations: 82.24 MB / 346.1 MB, free: 7.379 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.4158, allocations: 83.95 kB / 346.2 MB, free: 7.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6932/1.109, allocations: 117.8 MB / 463.9 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.109, allocations: 0 / 463.9 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000461/1.11, allocations: 113.9 kB / 464 MB, free: 476 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01533/1.125, allocations: 3.824 MB / 467.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.125, allocations: 8.031 kB / 467.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002344/1.127, allocations: 0.5504 MB / 468.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/1.131, allocations: 0.5529 MB / 469 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009288/1.14, allocations: 2.721 MB / 471.7 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/1.14, allocations: 297.9 kB / 472 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/1.142, allocations: 394.6 kB / 472.4 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/1.161, allocations: 5.571 MB / 477.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/1.161, allocations: 0 / 477.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009347/1.162, allocations: 167.1 kB / 478.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000328/1.162, allocations: 212 kB / 478.3 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/1.177, allocations: 4.541 MB / 482.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0482/1.225, allocations: 16.46 MB / 499.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/1.237, allocations: 6.719 MB / 0.4942 GB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00671/1.244, allocations: 2.629 MB / 0.4967 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/1.244, allocations: 150.2 kB / 0.4969 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/1.244, allocations: 64.56 kB / 0.4969 GB, free: 2.641 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 5.711e-06/1.245, allocations: 0 / 0.4969 GB, free: 2.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.2735/1.518, allocations: 7.732 MB / 0.5045 GB, free: 60.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.518, allocations: 81.25 kB / 0.5046 GB, free: 60.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005738/1.524, allocations: 2.339 MB / 0.5068 GB, free: 60.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005633/1.525, allocations: 67.61 kB / 0.5069 GB, free: 60.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/1.526, allocations: 1.502 MB / 0.5084 GB, free: 59.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.527, allocations: 0.845 MB / 0.5092 GB, free: 59.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/1.527, allocations: 50.12 kB / 0.5093 GB, free: 59.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/1.528, allocations: 408.5 kB / 0.5096 GB, free: 58.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.531, allocations: 1.287 MB / 0.5109 GB, free: 58.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.534, allocations: 1.57 MB / 0.5124 GB, free: 58.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/1.538, allocations: 1.52 MB / 0.5139 GB, free: 58.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.538, allocations: 0 / 0.5139 GB, free: 58.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01088/1.549, allocations: 4.142 MB / 0.518 GB, free: 58.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/1.549, allocations: 7.062 kB / 0.518 GB, free: 58.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/1.549, allocations: 10.38 kB / 0.518 GB, free: 58.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005682/1.555, allocations: 1.401 MB / 0.5193 GB, free: 58.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/1.558, allocations: 385.8 kB / 0.5197 GB, free: 58.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03189/1.59, allocations: 23.43 MB / 0.5426 GB, free: 44.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004229/1.594, allocations: 94.97 kB / 0.5427 GB, free: 44.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006497/1.595, allocations: 79.34 kB / 0.5428 GB, free: 44.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008486/1.596, allocations: 241 kB / 0.543 GB, free: 44.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/1.597, allocations: 295.9 kB / 0.5433 GB, free: 44.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/1.612, allocations: 4.084 MB / 0.5473 GB, free: 44.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/1.612, allocations: 25.03 kB / 0.5473 GB, free: 44.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/1.612, allocations: 10.81 kB / 0.5473 GB, free: 44.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.611e-05/1.612, allocations: 11.2 kB / 0.5473 GB, free: 44.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03336/1.646, allocations: 8.827 MB / 0.5559 GB, free: 41.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.646, allocations: 0 / 0.5559 GB, free: 41.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.649, allocations: 293.9 kB / 0.5562 GB, free: 41.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007624/1.657, allocations: 1.372 MB / 0.5575 GB, free: 41.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005812/1.657, allocations: 57.64 kB / 0.5576 GB, free: 41.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03161/1.689, allocations: 23.17 MB / 0.5802 GB, free: 23.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.689, allocations: 0 / 0.5802 GB, free: 23.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.702, allocations: 5.966 MB / 0.586 GB, free: 21.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.705, allocations: 0.6979 MB / 0.5867 GB, free: 20.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008263/1.706, allocations: 54.09 kB / 0.5868 GB, free: 20.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.708, allocations: 131.4 kB / 0.5869 GB, free: 20.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007888/1.709, allocations: 210.7 kB / 0.5871 GB, free: 20.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.71, allocations: 64.89 kB / 0.5872 GB, free: 20.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003967/1.714, allocations: 1.824 MB / 0.589 GB, free: 19.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.714, allocations: 0 / 0.589 GB, free: 19.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005352/1.719, allocations: 0.9755 MB / 0.5899 GB, free: 19.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01424/1.733, allocations: 6.839 MB / 0.5966 GB, free: 16.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009826/1.743, allocations: 4.729 MB / 0.6012 GB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.743, allocations: 7.375 kB / 0.6012 GB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006794/1.75, allocations: 3.277 MB / 0.6044 GB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006315/1.756, allocations: 0.8977 MB / 0.6053 GB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/1.782, allocations: 8.165 MB / 0.6133 GB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006709/1.789, allocations: 3.239 MB / 0.6164 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004182/1.793, allocations: 1.466 MB / 0.6179 GB, free: 14.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/1.793, allocations: 0 / 0.6179 GB, free: 14.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.945/7.738, allocations: 271 MB / 0.8825 GB, free: 51.65 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat