Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.876e-05, allocations: 6.031 kB / 292.2 MB, free: 8.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 50.42 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5404, allocations: 80.76 MB / 423.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5407, allocations: 70.34 kB / 423.5 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04055/0.5813, allocations: 9.126 MB / 432.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5814, allocations: 4 kB / 432.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.402e-05/0.5814, allocations: 12 kB / 432.6 MB, free: 5.207 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001992/0.5834, allocations: 0.7617 MB / 433.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.5835, allocations: 8.031 kB / 433.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002657/0.5838, allocations: 109.6 kB / 433.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.584, allocations: 75.09 kB / 433.6 MB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.5847, allocations: 367.2 kB / 433.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.5848, allocations: 48.95 kB / 434 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5849, allocations: 53.44 kB / 434 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5863, allocations: 0.5352 MB / 434.5 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.5863, allocations: 0 / 434.5 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.5864, allocations: 22.88 kB / 434.6 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.5865, allocations: 20 kB / 434.6 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.5876, allocations: 416.7 kB / 435 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004664/0.5923, allocations: 2.104 MB / 437.1 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.5936, allocations: 0.6032 MB / 437.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/0.5945, allocations: 384 kB / 438.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.5946, allocations: 4.562 kB / 438.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.5946, allocations: 45.75 kB / 438.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 3.657e-06/0.5947, allocations: 0 / 438.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.003414/0.5981, allocations: 1.252 MB / 439.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.5982, allocations: 63.92 kB / 439.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.5988, allocations: 312.3 kB / 439.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.5988, allocations: 32.45 kB / 439.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.599, allocations: 281 kB / 440.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.5993, allocations: 205.7 kB / 440.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.5993, allocations: 14.5 kB / 440.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5995, allocations: 332.7 kB / 440.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.5999, allocations: 149.4 kB / 440.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.6004, allocations: 196.1 kB / 440.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.6009, allocations: 159 kB / 441.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6009, allocations: 0 / 441.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001725/0.6026, allocations: 0.6024 MB / 441.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.6027, allocations: 8 kB / 441.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6027, allocations: 0 / 441.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.6039, allocations: 256.1 kB / 441.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.6045, allocations: 63.91 kB / 442 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008937/0.6134, allocations: 6.75 MB / 448.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.6141, allocations: 26.78 kB / 448.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.6142, allocations: 15.38 kB / 448.8 MB, free: 6.918 MB / 362.7 MB 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.0002155/0.6144, allocations: 130.3 kB / 448.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6145, allocations: 51.39 kB / 449 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.6147, allocations: 68.81 kB / 449 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.6148, allocations: 12 kB / 449.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6148, allocations: 0 / 449.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.6148, allocations: 3.984 kB / 449.1 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.6179, allocations: 1.31 MB / 450.4 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.618, allocations: 4 kB / 450.4 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.6186, allocations: 59.27 kB / 450.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.6198, allocations: 258.1 kB / 450.7 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/0.6199, allocations: 12.2 kB / 450.7 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008873/0.6288, allocations: 6.762 MB / 457.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6288, allocations: 8.016 kB / 457.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.6314, allocations: 0.9665 MB / 458.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.6318, allocations: 160.4 kB / 458.6 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.6319, allocations: 16 kB / 458.6 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.6325, allocations: 15.98 kB / 458.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.6327, allocations: 60.42 kB / 458.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.6327, allocations: 12 kB / 458.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004234/0.6332, allocations: 250.2 kB / 458.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6332, allocations: 0 / 458.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001329/0.6345, allocations: 176 kB / 459.1 MB, free: 12.9 MB / 378.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.002875/0.6374, allocations: 1.535 MB / 460.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.6396, allocations: 0.953 MB / 461.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6396, allocations: 0 / 461.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.6412, allocations: 0.7857 MB / 462.4 MB, free: 9.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.6419, allocations: 81.69 kB / 462.5 MB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.6456, allocations: 1.16 MB / 463.6 MB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.6463, allocations: 0.8985 MB / 464.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.6467, allocations: 175.4 kB / 464.7 MB, free: 7.121 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6467, allocations: 4 kB / 464.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.144/3.79, allocations: 15.83 MB / 480.5 MB, free: 7.281 MB / 394.7 MB