Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.048/1.048, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.972e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.174, allocations: 25.15 MB / 176.6 MB, free: 15.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07295/0.247, allocations: 36.6 MB / 213.2 MB, free: 12.75 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.2473, allocations: 67.95 kB / 213.3 MB, free: 12.69 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04817/0.2955, allocations: 8.182 MB / 221.5 MB, free: 4.488 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2956, allocations: 0 / 221.5 MB, free: 4.488 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.891e-05/0.2956, allocations: 12 kB / 221.5 MB, free: 4.477 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002536/0.2982, allocations: 0.7636 MB / 222.3 MB, free: 3.668 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/0.2983, allocations: 15.97 kB / 222.3 MB, free: 3.652 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002894/0.2986, allocations: 103.6 kB / 222.4 MB, free: 3.539 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.2989, allocations: 75.14 kB / 222.5 MB, free: 3.465 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009638/0.2998, allocations: 371.3 kB / 222.8 MB, free: 3.066 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.2999, allocations: 41.31 kB / 222.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.3001, allocations: 59.98 kB / 222.9 MB, free: 2.969 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.302, allocations: 0.5317 MB / 223.5 MB, free: 2.41 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.302, allocations: 0 / 223.5 MB, free: 2.41 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.3022, allocations: 20 kB / 223.5 MB, free: 2.391 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.3022, allocations: 16 kB / 223.5 MB, free: 2.375 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.3038, allocations: 422.4 kB / 223.9 MB, free: 1.965 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.3101, allocations: 2.114 MB / 226 MB, free: 15.76 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.3119, allocations: 0.5983 MB / 226.6 MB, free: 15.13 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.3131, allocations: 381.8 kB / 227 MB, free: 14.76 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.666e-05/0.3132, allocations: 8.516 kB / 227 MB, free: 14.75 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.3133, allocations: 39.12 kB / 227 MB, free: 14.7 MB / 202.7 MB Notification: Performance of pre-optimization done (n=60): time 4.799e-06/0.3133, allocations: 3.938 kB / 227 MB, free: 14.7 MB / 202.7 MB Notification: Performance of matching and sorting (n=61): time 0.004668/0.318, allocations: 1.252 MB / 228.3 MB, free: 13.38 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3181, allocations: 55.97 kB / 228.3 MB, free: 13.31 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/0.3189, allocations: 326.8 kB / 228.7 MB, free: 12.98 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 9.489e-05/0.319, allocations: 33.7 kB / 228.7 MB, free: 12.95 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.3193, allocations: 287.4 kB / 229 MB, free: 12.66 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.3196, allocations: 197 kB / 229.2 MB, free: 12.47 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.3197, allocations: 16 kB / 229.2 MB, free: 12.46 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3199, allocations: 334.8 kB / 229.5 MB, free: 12.12 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.3205, allocations: 145.1 kB / 229.7 MB, free: 11.98 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.3212, allocations: 186.8 kB / 229.8 MB, free: 11.79 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/0.3218, allocations: 156.4 kB / 230 MB, free: 11.64 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3219, allocations: 0 / 230 MB, free: 11.64 MB / 202.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002395/0.3243, allocations: 0.6035 MB / 230.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3243, allocations: 4 kB / 230.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.3243, allocations: 0 / 230.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.3259, allocations: 255.2 kB / 230.8 MB, free: 10.75 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.3266, allocations: 67.89 kB / 230.9 MB, free: 10.68 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.3399, allocations: 6.757 MB / 237.7 MB, free: 3.387 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.3407, allocations: 20.02 kB / 237.7 MB, free: 3.367 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.3408, allocations: 16 kB / 237.7 MB, free: 3.352 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: Inductor3.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Inductor2.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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.0003356/0.3412, allocations: 140.9 kB / 237.8 MB, free: 3.207 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.3414, allocations: 47.44 kB / 237.9 MB, free: 3.16 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.3417, allocations: 65.03 kB / 238 MB, free: 3.098 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.3417, allocations: 4 kB / 238 MB, free: 3.094 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.3417, allocations: 4 kB / 238 MB, free: 3.09 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3417, allocations: 3.984 kB / 238 MB, free: 3.086 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.3463, allocations: 1.314 MB / 239.3 MB, free: 1.703 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.3464, allocations: 0 / 239.3 MB, free: 1.703 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008319/0.3472, allocations: 59.89 kB / 239.3 MB, free: 1.645 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.3489, allocations: 259.4 kB / 239.6 MB, free: 1.379 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.3491, allocations: 12 kB / 239.6 MB, free: 1.367 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.3593, allocations: 6.761 MB / 246.4 MB, free: 10.07 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3594, allocations: 0 / 246.4 MB, free: 10.07 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.362, allocations: 0.9743 MB / 247.3 MB, free: 9.062 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.3624, allocations: 160.5 kB / 247.5 MB, free: 8.887 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.3625, allocations: 12 kB / 247.5 MB, free: 8.875 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.363, allocations: 19.98 kB / 247.5 MB, free: 8.855 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.3632, allocations: 56.42 kB / 247.6 MB, free: 8.801 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.3633, allocations: 19.98 kB / 247.6 MB, free: 8.781 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0004369/0.3637, allocations: 253.2 kB / 247.8 MB, free: 8.539 MB / 218.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3638, allocations: 0 / 247.8 MB, free: 8.539 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001357/0.3651, allocations: 180 kB / 248 MB, free: 8.363 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.002968/0.3681, allocations: 1.535 MB / 249.6 MB, free: 6.785 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.3703, allocations: 0.953 MB / 250.5 MB, free: 5.797 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3704, allocations: 0 / 250.5 MB, free: 5.797 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.372, allocations: 0.7818 MB / 251.3 MB, free: 4.973 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.373, allocations: 109.7 kB / 251.4 MB, free: 4.863 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.3764, allocations: 1.093 MB / 252.5 MB, free: 3.727 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.3771, allocations: 0.8985 MB / 253.4 MB, free: 2.801 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.3775, allocations: 179.4 kB / 253.6 MB, free: 2.625 MB / 218.7 MB Notification: Performance of SimCode: time 3.166e-06/0.3775, allocations: 0 / 253.6 MB, free: 2.625 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.048/3.426, allocations: 15.85 MB / 269.4 MB, free: 59.01 MB / 218.7 MB