Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.539e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09382, allocations: 44.52 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.559, allocations: 76.18 MB / 376.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/0.5595, allocations: 91.16 kB / 376.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03723/0.5967, allocations: 6.99 MB / 383.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5968, allocations: 0 / 383.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.5968, allocations: 9.625 kB / 383.2 MB, free: 11.84 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001858/0.5987, allocations: 0.6467 MB / 383.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.5988, allocations: 9.188 kB / 383.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.599, allocations: 80.73 kB / 384 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.5992, allocations: 54.67 kB / 384 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/0.6001, allocations: 356.9 kB / 384.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.6001, allocations: 37 kB / 384.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.6003, allocations: 50.62 kB / 384.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.6018, allocations: 436.7 kB / 384.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.6019, allocations: 1.375 kB / 384.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.602, allocations: 17.86 kB / 384.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.602, allocations: 9.625 kB / 384.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.6032, allocations: 303.6 kB / 385.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.6079, allocations: 1.849 MB / 387 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.6094, allocations: 0.5997 MB / 387.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.6107, allocations: 272.8 kB / 387.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.6107, allocations: 5.359 kB / 387.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008469/0.6116, allocations: 258.5 kB / 388.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 4.458e-06/0.6116, allocations: 5.188 kB / 388.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001949/0.6136, allocations: 450 kB / 388.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.6137, allocations: 80.95 kB / 388.7 MB, free: 9.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/0.6142, allocations: 280.4 kB / 389 MB, free: 9.285 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.6143, allocations: 37.3 kB / 389 MB, free: 9.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.6145, allocations: 263.4 kB / 389.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.6147, allocations: 129.9 kB / 389.4 MB, free: 8.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.6148, allocations: 7.688 kB / 389.4 MB, free: 8.973 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.6149, allocations: 329 kB / 389.7 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.6153, allocations: 109.6 kB / 389.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.6159, allocations: 234.4 kB / 390.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.6164, allocations: 140.5 kB / 390.2 MB, free: 8.496 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.6164, allocations: 3.938 kB / 390.2 MB, free: 8.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001606/0.618, allocations: 471.1 kB / 390.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6181, allocations: 10 kB / 390.7 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.6181, allocations: 3.938 kB / 390.7 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009116/0.619, allocations: 143.1 kB / 390.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.6196, allocations: 63.88 kB / 390.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.6236, allocations: 2.306 MB / 393.2 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.6241, allocations: 47.91 kB / 393.2 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.6242, allocations: 15.16 kB / 393.2 MB, free: 6.969 MB / 314.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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.6244, allocations: 140.4 kB / 393.4 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.6245, allocations: 38.88 kB / 393.4 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.6246, allocations: 51.02 kB / 393.5 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6247, allocations: 3.312 kB / 393.5 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6247, allocations: 3.953 kB / 393.5 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.6247, allocations: 3.938 kB / 393.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.6266, allocations: 1.006 MB / 394.5 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6266, allocations: 0 / 394.5 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.6269, allocations: 38.06 kB / 394.5 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000591/0.6275, allocations: 146.7 kB / 394.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.6276, allocations: 9.469 kB / 394.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/0.6311, allocations: 2.287 MB / 397 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6311, allocations: 7.953 kB / 397 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.6327, allocations: 0.684 MB / 397.6 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.6329, allocations: 155.7 kB / 397.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.633, allocations: 10.94 kB / 397.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.6334, allocations: 18.16 kB / 397.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6336, allocations: 35.53 kB / 397.9 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.6336, allocations: 11.31 kB / 397.9 MB, free: 20.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003154/0.6339, allocations: 214.5 kB / 398.1 MB, free: 20.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.634, allocations: 0 / 398.1 MB, free: 20.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007881/0.6347, allocations: 148.5 kB / 398.2 MB, free: 20.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002794/0.6376, allocations: 1.336 MB / 399.6 MB, free: 19.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.6388, allocations: 0.5039 MB / 400.1 MB, free: 19.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6389, allocations: 0 / 400.1 MB, free: 19.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006987/0.6396, allocations: 365.5 kB / 400.4 MB, free: 19.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.6402, allocations: 81.89 kB / 400.5 MB, free: 19.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.6425, allocations: 0.7125 MB / 401.2 MB, free: 19.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.6431, allocations: 0.8398 MB / 402.1 MB, free: 18.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.6433, allocations: 141.1 kB / 402.2 MB, free: 18.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6433, allocations: 0 / 402.2 MB, free: 18.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.842/3.485, allocations: 8.513 MB / 410.7 MB, free: 16.82 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat