Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.616e-05, allocations: 8 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09038, allocations: 50.4 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.4929, allocations: 80.75 MB / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.4933, allocations: 68.22 kB / 423.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03615/0.5295, allocations: 9.13 MB / 432.5 MB, free: 5.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5295, allocations: 0 / 432.5 MB, free: 5.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.462e-05/0.5296, allocations: 16 kB / 432.5 MB, free: 5.562 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.001468/0.5311, allocations: 0.7551 MB / 433.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5311, allocations: 12.03 kB / 433.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.5313, allocations: 67.25 kB / 433.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.5319, allocations: 354.3 kB / 433.7 MB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.532, allocations: 39.45 kB / 433.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.5321, allocations: 52.98 kB / 433.8 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.5332, allocations: 0.5138 MB / 434.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5332, allocations: 3.938 kB / 434.3 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.5333, allocations: 18.56 kB / 434.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.5333, allocations: 12 kB / 434.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009471/0.5343, allocations: 406.7 kB / 434.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.5381, allocations: 2.071 MB / 436.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.5391, allocations: 0.6014 MB / 437.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006972/0.5399, allocations: 384.3 kB / 437.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.5399, allocations: 8.562 kB / 437.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.54, allocations: 41.62 kB / 437.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 3.559e-06/0.54, allocations: 0 / 437.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.002797/0.5428, allocations: 1.248 MB / 439.1 MB, free: 204 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.5429, allocations: 55.97 kB / 439.1 MB, free: 132 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.5434, allocations: 314 kB / 439.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.5434, allocations: 32.89 kB / 439.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.5436, allocations: 272.7 kB / 439.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.5438, allocations: 197.8 kB / 439.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.5439, allocations: 11.5 kB / 439.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5441, allocations: 337.9 kB / 440.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.5445, allocations: 150.2 kB / 440.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.5449, allocations: 191.3 kB / 440.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.5453, allocations: 167.5 kB / 440.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-06/0.5453, allocations: 0 / 440.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001454/0.5468, allocations: 0.6049 MB / 441.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5468, allocations: 7.953 kB / 441.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.314e-06/0.5468, allocations: 0 / 441.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009557/0.5478, allocations: 254.5 kB / 441.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.5482, allocations: 63.59 kB / 441.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008558/0.5568, allocations: 6.753 MB / 448.4 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.5572, allocations: 23.33 kB / 448.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.5573, allocations: 11.31 kB / 448.5 MB, free: 7.469 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.0001699/0.5575, allocations: 130.7 kB / 448.6 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.5576, allocations: 47.44 kB / 448.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.5577, allocations: 72.88 kB / 448.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.394e-06/0.5578, allocations: 4 kB / 448.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.5578, allocations: 8.516 kB / 448.7 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.65e-06/0.5578, allocations: 3.984 kB / 448.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.5605, allocations: 1.297 MB / 450 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-06/0.5606, allocations: 4 kB / 450 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.561, allocations: 55.22 kB / 450.1 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000936/0.5619, allocations: 266.4 kB / 450.3 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.562, allocations: 10.98 kB / 450.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008688/0.5707, allocations: 6.768 MB / 457.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.306e-06/0.5707, allocations: 4 kB / 457.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.573, allocations: 0.9626 MB / 458.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.5733, allocations: 160.5 kB / 458.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.5734, allocations: 12 kB / 458.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.5737, allocations: 19.95 kB / 458.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.5739, allocations: 56.47 kB / 458.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.574, allocations: 12 kB / 458.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003907/0.5744, allocations: 246.2 kB / 458.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.5744, allocations: 7.938 kB / 458.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001167/0.5756, allocations: 176 kB / 458.8 MB, free: 13.29 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.0002127/0.5758, allocations: 119.2 kB / 458.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.5777, allocations: 0.9569 MB / 459.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.195e-06/0.5777, allocations: 0 / 459.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5791, allocations: 0.7817 MB / 460.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.5796, allocations: 69.62 kB / 460.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.5822, allocations: 1.021 MB / 461.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.5829, allocations: 0.8946 MB / 462.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.583, allocations: 35.42 kB / 462.6 MB, free: 9.262 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.583, allocations: 0 / 462.6 MB, free: 9.262 MB / 378.7 MB Notification: Performance of Templates: time 0.02051/0.6036, allocations: 13.25 MB / 475.9 MB, free: 12.02 MB / 394.7 MB