Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.013/1.013, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.109e-05, allocations: 0 / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 25.15 MB / 176.5 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05482/0.1926, allocations: 36.6 MB / 213.1 MB, free: 12.86 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.1929, allocations: 67.91 kB / 213.2 MB, free: 12.79 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03209/0.225, allocations: 8.191 MB / 221.4 MB, free: 4.582 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.161e-06/0.225, allocations: 0 / 221.4 MB, free: 4.582 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.511e-05/0.2251, allocations: 12 kB / 221.4 MB, free: 4.57 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.001438/0.2265, allocations: 0.7519 MB / 222.2 MB, free: 3.773 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2266, allocations: 12.03 kB / 222.2 MB, free: 3.762 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.2267, allocations: 67.16 kB / 222.2 MB, free: 3.695 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.2274, allocations: 375.3 kB / 222.6 MB, free: 3.293 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.2275, allocations: 37.31 kB / 222.6 MB, free: 3.254 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.2276, allocations: 48 kB / 222.7 MB, free: 3.207 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2287, allocations: 0.5116 MB / 223.2 MB, free: 2.672 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.2287, allocations: 0 / 223.2 MB, free: 2.672 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.2288, allocations: 20 kB / 223.2 MB, free: 2.652 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.2289, allocations: 12 kB / 223.2 MB, free: 2.641 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.2299, allocations: 401.9 kB / 223.6 MB, free: 2.246 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/0.2337, allocations: 2.073 MB / 225.7 MB, free: 88 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.2349, allocations: 0.6022 MB / 226.3 MB, free: 15.45 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.2357, allocations: 381.8 kB / 226.7 MB, free: 15.08 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.2357, allocations: 8.562 kB / 226.7 MB, free: 15.07 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.2358, allocations: 43.06 kB / 226.7 MB, free: 15.02 MB / 202.7 MB Notification: Performance of pre-optimization done (n=60): time 3.425e-06/0.2358, allocations: 0 / 226.7 MB, free: 15.02 MB / 202.7 MB Notification: Performance of matching and sorting (n=61): time 0.002923/0.2387, allocations: 1.256 MB / 228 MB, free: 13.7 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.2388, allocations: 55.97 kB / 228 MB, free: 13.63 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.2393, allocations: 322.9 kB / 228.4 MB, free: 13.31 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.2394, allocations: 33.7 kB / 228.4 MB, free: 13.27 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.2396, allocations: 271.6 kB / 228.7 MB, free: 13 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.2398, allocations: 201 kB / 228.8 MB, free: 12.8 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.2399, allocations: 8 kB / 228.9 MB, free: 12.8 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2401, allocations: 338.8 kB / 229.2 MB, free: 12.46 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.2404, allocations: 145.1 kB / 229.3 MB, free: 12.31 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.2409, allocations: 186.8 kB / 229.5 MB, free: 12.12 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.2413, allocations: 160.4 kB / 229.7 MB, free: 11.97 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-06/0.2413, allocations: 4 kB / 229.7 MB, free: 11.96 MB / 202.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001495/0.2428, allocations: 0.5996 MB / 230.3 MB, free: 11.35 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2429, allocations: 8.625 kB / 230.3 MB, free: 11.34 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2429, allocations: 0 / 230.3 MB, free: 11.34 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/0.2439, allocations: 251.2 kB / 230.5 MB, free: 11.08 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.2443, allocations: 67.89 kB / 230.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008768/0.2531, allocations: 6.749 MB / 237.3 MB, free: 3.727 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.2535, allocations: 28.08 kB / 237.4 MB, free: 3.699 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.2536, allocations: 16 kB / 237.4 MB, free: 3.684 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.0002366/0.2538, allocations: 129 kB / 237.5 MB, free: 3.551 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.2539, allocations: 51.34 kB / 237.6 MB, free: 3.5 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.2541, allocations: 73.02 kB / 237.6 MB, free: 3.43 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.2541, allocations: 11.95 kB / 237.6 MB, free: 3.418 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.459e-06/0.2542, allocations: 0 / 237.6 MB, free: 3.418 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2542, allocations: 0 / 237.6 MB, free: 3.418 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.257, allocations: 1.302 MB / 238.9 MB, free: 2.047 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.803e-06/0.257, allocations: 0 / 238.9 MB, free: 2.047 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.2574, allocations: 55.91 kB / 239 MB, free: 1.992 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009491/0.2584, allocations: 259.4 kB / 239.3 MB, free: 1.727 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.2584, allocations: 16.05 kB / 239.3 MB, free: 1.711 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008692/0.2671, allocations: 6.757 MB / 246 MB, free: 10.41 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.773e-06/0.2672, allocations: 0 / 246 MB, free: 10.41 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.2694, allocations: 0.9664 MB / 247 MB, free: 9.418 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.2697, allocations: 168.5 kB / 247.2 MB, free: 9.234 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.2698, allocations: 15.95 kB / 247.2 MB, free: 9.219 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.2702, allocations: 19.98 kB / 247.2 MB, free: 9.199 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.2703, allocations: 52.48 kB / 247.2 MB, free: 9.148 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.2704, allocations: 12 kB / 247.3 MB, free: 9.137 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0003905/0.2708, allocations: 261.2 kB / 247.5 MB, free: 8.887 MB / 218.7 MB Notification: Performance of sort global known variables: time 6.99e-07/0.2708, allocations: 0 / 247.5 MB, free: 8.887 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001154/0.272, allocations: 180 kB / 247.7 MB, free: 8.711 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.0001934/0.2722, allocations: 111.2 kB / 247.8 MB, free: 8.594 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.274, allocations: 0.9608 MB / 248.8 MB, free: 7.59 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.174e-06/0.274, allocations: 0 / 248.8 MB, free: 7.59 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.2754, allocations: 0.7701 MB / 249.5 MB, free: 6.781 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.2761, allocations: 105.7 kB / 249.6 MB, free: 6.676 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.2783, allocations: 0.9548 MB / 250.6 MB, free: 5.688 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.2789, allocations: 0.8907 MB / 251.5 MB, free: 4.77 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2791, allocations: 31.42 kB / 251.5 MB, free: 4.738 MB / 218.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2791, allocations: 0 / 251.5 MB, free: 4.738 MB / 218.7 MB Notification: Performance of Templates: time 0.1377/0.4168, allocations: 13.27 MB / 264.8 MB, free: 61.9 MB / 218.7 MB