Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.833e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 44.5 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.4611, allocations: 77.91 MB / 372.1 MB, free: 3.969 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.4615, allocations: 79.95 kB / 372.2 MB, free: 3.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08728/0.5488, allocations: 20.74 MB / 392.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5489, allocations: 0 / 392.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001259/0.549, allocations: 31.98 kB / 393 MB, free: 14.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00485/0.5539, allocations: 1.369 MB / 394.3 MB, free: 13.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.5539, allocations: 8.031 kB / 394.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006688/0.5546, allocations: 154.2 kB / 394.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.5574, allocations: 0.9454 MB / 395.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.5575, allocations: 32 kB / 395.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.5578, allocations: 60 kB / 395.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003463/0.5613, allocations: 1.218 MB / 396.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.5649, allocations: 1.333 MB / 398.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/0.565, allocations: 3.938 kB / 398.1 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.5652, allocations: 7.984 kB / 398.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.632e-05/0.5653, allocations: 42.03 kB / 398.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.5773, allocations: 4.779 MB / 402.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.5798, allocations: 1.382 MB / 404.3 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.5817, allocations: 0.6687 MB / 405 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.63e-05/0.5818, allocations: 12.56 kB / 405 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/0.5831, allocations: 0.5502 MB / 405.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 4.218e-06/0.5832, allocations: 0 / 405.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.003105/0.5863, allocations: 1.129 MB / 406.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.5864, allocations: 85.89 kB / 406.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.5881, allocations: 0.7617 MB / 407.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.5883, allocations: 25.7 kB / 407.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/0.589, allocations: 0.5254 MB / 408.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.5893, allocations: 220.8 kB / 408.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.5894, allocations: 0 / 408.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.5897, allocations: 346.8 kB / 408.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000929/0.5906, allocations: 361.4 kB / 409 MB, free: 14.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.5917, allocations: 0.4933 MB / 409.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.5926, allocations: 397.9 kB / 409.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.5927, allocations: 4 kB / 409.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002716/0.5954, allocations: 1.082 MB / 410.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.5955, allocations: 8 kB / 410.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5955, allocations: 7.984 kB / 410.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.597, allocations: 383.1 kB / 411.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.598, allocations: 115.8 kB / 411.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008147/0.6062, allocations: 4.009 MB / 415.4 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.6073, allocations: 71.48 kB / 415.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.6075, allocations: 24.06 kB / 415.5 MB, free: 7.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.6078, allocations: 129.9 kB / 415.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003086/0.6109, allocations: 1.132 MB / 416.8 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/0.6114, allocations: 90.97 kB / 416.9 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.6118, allocations: 116.5 kB / 417 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.6118, allocations: 8 kB / 417 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6119, allocations: 0 / 417 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.6119, allocations: 3.984 kB / 417 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/0.618, allocations: 2.327 MB / 419.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.618, allocations: 0 / 419.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/0.6189, allocations: 87.88 kB / 419.4 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.6204, allocations: 380.7 kB / 419.8 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.6206, allocations: 11.98 kB / 419.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2541/0.8747, allocations: 3.946 MB / 423.8 MB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.8747, allocations: 0.6562 kB / 423.8 MB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004171/0.8789, allocations: 1.797 MB / 425.6 MB, free: 101 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008375/0.8798, allocations: 282.5 kB / 425.8 MB, free: 100.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.8801, allocations: 6.109 kB / 425.8 MB, free: 100.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.8809, allocations: 35.88 kB / 425.9 MB, free: 100.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003332/0.8813, allocations: 78.11 kB / 425.9 MB, free: 100.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.8813, allocations: 21.28 kB / 426 MB, free: 100.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.8825, allocations: 0.5937 MB / 426.6 MB, free: 100.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.8826, allocations: 1.188 kB / 426.6 MB, free: 100.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001704/0.8843, allocations: 320.3 kB / 426.9 MB, free: 100.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004217/0.8885, allocations: 2.36 MB / 429.2 MB, free: 100 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002787/0.8914, allocations: 1.142 MB / 430.4 MB, free: 99.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.8914, allocations: 1.062 kB / 430.4 MB, free: 99.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.8932, allocations: 0.7381 MB / 431.1 MB, free: 99.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.895, allocations: 207.3 kB / 431.3 MB, free: 99.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007539/0.9026, allocations: 2.353 MB / 433.7 MB, free: 99.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.9038, allocations: 1.382 MB / 435 MB, free: 98.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008368/0.9046, allocations: 409.5 kB / 435.4 MB, free: 98.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.9046, allocations: 3.219 kB / 435.5 MB, free: 98.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.182/4.087, allocations: 27.23 MB / 462.7 MB, free: 83.72 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat