Running command: "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.135/2.135, allocations: 214.7 MB / 226.9 MB, free: 1.312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.04e-05/4.05e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 49.71 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.5747, allocations: 85.09 MB / 414.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.575, allocations: 64.72 kB / 414.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09586/0.6709, allocations: 21.46 MB / 435.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.671, allocations: 4 kB / 435.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001417/0.6711, allocations: 35.92 kB / 435.9 MB, free: 12.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.005203/0.6764, allocations: 1.423 MB / 437.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.6764, allocations: 8.031 kB / 437.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005769/0.677, allocations: 176.2 kB / 437.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004994/0.6775, allocations: 150.2 kB / 437.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.6803, allocations: 0.9223 MB / 438.6 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.6805, allocations: 88.81 kB / 438.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007022/0.6812, allocations: 110.4 kB / 438.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004377/0.6856, allocations: 1.589 MB / 440.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.6857, allocations: 4 kB / 440.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.6859, allocations: 41.31 kB / 440.4 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.686, allocations: 53.53 kB / 440.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.6897, allocations: 1.377 MB / 441.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.7028, allocations: 5.054 MB / 446.9 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/0.7064, allocations: 2.525 MB / 449.4 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.7083, allocations: 0.8093 MB / 450.2 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-05/0.7084, allocations: 8.781 kB / 450.2 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.7085, allocations: 44.97 kB / 450.3 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 4.278e-06/0.7085, allocations: 0 / 450.3 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.007495/0.716, allocations: 2.768 MB / 453 MB, free: 14.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.7161, allocations: 60.19 kB / 453.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.7179, allocations: 0.7811 MB / 453.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.7182, allocations: 45.7 kB / 453.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.7187, allocations: 0.4921 MB / 454.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004196/0.7192, allocations: 311.5 kB / 454.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.7192, allocations: 16 kB / 454.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7194, allocations: 341.9 kB / 455.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.7206, allocations: 465.8 kB / 455.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.7219, allocations: 0.5188 MB / 456.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.7232, allocations: 0.5124 MB / 456.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7232, allocations: 0 / 456.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00428/0.7275, allocations: 1.491 MB / 458.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.7276, allocations: 4 kB / 458.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.7276, allocations: 0 / 458.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.7296, allocations: 495 kB / 458.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.7309, allocations: 143.8 kB / 458.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.7452, allocations: 8.732 MB / 467.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.7464, allocations: 51.97 kB / 467.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.7465, allocations: 20 kB / 467.5 MB, free: 15.48 MB / 394.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 (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 (69): * Single equations (assignments): 65 * 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.0003096/0.7468, allocations: 156.9 kB / 467.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.7471, allocations: 94.88 kB / 467.7 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.7475, allocations: 133.3 kB / 467.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.7475, allocations: 8 kB / 467.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.7476, allocations: 0 / 467.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7476, allocations: 3.984 kB / 467.9 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008831/0.7564, allocations: 3.12 MB / 471 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.7565, allocations: 0 / 471 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.7576, allocations: 123.9 kB / 471.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.7595, allocations: 487.2 kB / 471.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.7597, allocations: 16 kB / 471.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.7732, allocations: 8.627 MB / 480.2 MB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.7732, allocations: 8.062 kB / 480.2 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/0.7787, allocations: 2.245 MB / 482.5 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009222/0.7797, allocations: 299.9 kB / 482.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.78, allocations: 16 kB / 482.8 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.7811, allocations: 67.92 kB / 482.9 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/0.7815, allocations: 92.53 kB / 482.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.7816, allocations: 20 kB / 483 MB, free: 15.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001403/0.783, allocations: 0.624 MB / 483.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.783, allocations: 0 / 483.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001968/0.785, allocations: 312 kB / 483.9 MB, free: 14.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (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 simulation (60): * Single equations (assignments): 56 * 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.005906/0.7909, allocations: 2.958 MB / 486.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004395/0.7954, allocations: 1.66 MB / 488.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.7955, allocations: 0 / 488.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002834/0.7983, allocations: 1.166 MB / 489.7 MB, free: 8.438 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.8005, allocations: 267.1 kB / 489.9 MB, free: 8.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/0.8082, allocations: 2.699 MB / 492.6 MB, free: 5.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.8097, allocations: 1.435 MB / 494.1 MB, free: 3.961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009327/0.8107, allocations: 179.7 kB / 494.3 MB, free: 3.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008824/0.8116, allocations: 415.3 kB / 494.7 MB, free: 3.375 MB / 410.7 MB Notification: Performance of SimCode: time 3.406e-06/0.8116, allocations: 0 / 494.7 MB, free: 3.375 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/0.9163, allocations: 28.26 MB / 0.5107 GB, free: 7.164 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/0.9167, allocations: 173.3 kB / 0.5108 GB, free: 6.934 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.643/4.56, allocations: 7.984 kB / 0.5108 GB, free: 6.926 MB / 442.7 MB