Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.154e-05/5.161e-05, allocations: 8 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.299, allocations: 44.5 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.429, allocations: 84.74 MB / 378.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4293, allocations: 75.91 kB / 378.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.113/0.5424, allocations: 32.67 MB / 411.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.37e-06/0.5424, allocations: 0 / 411.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.5425, allocations: 15.94 kB / 411.6 MB, free: 12.21 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002087/0.5446, allocations: 1.032 MB / 412.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5446, allocations: 11.97 kB / 412.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.5449, allocations: 114.6 kB / 412.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.5465, allocations: 0.7428 MB / 413.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5466, allocations: 8 kB / 413.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.5467, allocations: 19.98 kB / 413.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005596/0.5472, allocations: 209 kB / 413.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.5478, allocations: 262.6 kB / 414 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5479, allocations: 0 / 414 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.5479, allocations: 3.953 kB / 414 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.548, allocations: 8 kB / 414 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.5505, allocations: 1.136 MB / 415.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.551, allocations: 174.7 kB / 415.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.5515, allocations: 209.5 kB / 415.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2259/0.7774, allocations: 10.77 MB / 426.3 MB, free: 92.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.7775, allocations: 39.45 kB / 426.3 MB, free: 92.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.768e-06/0.7775, allocations: 1.5 kB / 426.3 MB, free: 92.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008822/0.7784, allocations: 335.6 kB / 426.7 MB, free: 92.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.7785, allocations: 79.02 kB / 426.7 MB, free: 92.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/0.7795, allocations: 0.6024 MB / 427.3 MB, free: 92.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.7795, allocations: 26.77 kB / 427.4 MB, free: 91.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.7798, allocations: 421.1 kB / 427.8 MB, free: 91.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.7799, allocations: 73.84 kB / 427.8 MB, free: 91.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.78, allocations: 1.125 kB / 427.8 MB, free: 91.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.78, allocations: 322.9 kB / 428.2 MB, free: 91.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.7802, allocations: 55.02 kB / 428.2 MB, free: 91.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.7804, allocations: 131.4 kB / 428.3 MB, free: 91.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.7806, allocations: 84.52 kB / 428.4 MB, free: 91.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.391e-06/0.7806, allocations: 1.125 kB / 428.4 MB, free: 91.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006605/0.7813, allocations: 274.9 kB / 428.7 MB, free: 91.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.7814, allocations: 6.344 kB / 428.7 MB, free: 91.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.395e-05/0.7814, allocations: 20.8 kB / 428.7 MB, free: 91.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/0.7819, allocations: 138.4 kB / 428.9 MB, free: 91.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.7821, allocations: 33.2 kB / 428.9 MB, free: 91.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000783/0.7829, allocations: 0.7211 MB / 429.6 MB, free: 90.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.7835, allocations: 24.42 kB / 429.6 MB, free: 90.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.7835, allocations: 16.72 kB / 429.7 MB, free: 90.77 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.7837, allocations: 115.3 kB / 429.8 MB, free: 90.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.7839, allocations: 102.3 kB / 429.9 MB, free: 90.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.7851, allocations: 396.4 kB / 430.3 MB, free: 90.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7852, allocations: 6.156 kB / 430.3 MB, free: 90.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.853e-06/0.7852, allocations: 0 / 430.3 MB, free: 90.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-06/0.7852, allocations: 4.844 kB / 430.3 MB, free: 90.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.7861, allocations: 468 kB / 430.7 MB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-05/0.7861, allocations: 17.61 kB / 430.7 MB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.7863, allocations: 17.36 kB / 430.8 MB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.7868, allocations: 136.8 kB / 430.9 MB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.7868, allocations: 9.234 kB / 430.9 MB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007806/0.7876, allocations: 0.7164 MB / 431.6 MB, free: 89.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.201e-06/0.7876, allocations: 7.422 kB / 431.6 MB, free: 89.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.7885, allocations: 443.6 kB / 432.1 MB, free: 89.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.7889, allocations: 167.8 kB / 432.2 MB, free: 89.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.7892, allocations: 4.969 kB / 432.2 MB, free: 89.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/0.7899, allocations: 6.25 kB / 432.2 MB, free: 89.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.79, allocations: 15.95 kB / 432.2 MB, free: 89.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.7901, allocations: 11.62 kB / 432.3 MB, free: 89.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001378/0.7914, allocations: 470.9 kB / 432.7 MB, free: 89.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.296e-06/0.7915, allocations: 1.594 kB / 432.7 MB, free: 89.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001816/0.7933, allocations: 201.2 kB / 432.9 MB, free: 89.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.7944, allocations: 328.8 kB / 433.2 MB, free: 89.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009678/0.7954, allocations: 249.7 kB / 433.5 MB, free: 89.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.133e-06/0.7954, allocations: 2.5 kB / 433.5 MB, free: 89.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005009/0.7959, allocations: 166.2 kB / 433.6 MB, free: 89.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.7973, allocations: 117 kB / 433.8 MB, free: 89.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.8005, allocations: 0.8728 MB / 434.6 MB, free: 88.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.8013, allocations: 0.9534 MB / 435.6 MB, free: 88.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.8016, allocations: 55.86 kB / 435.6 MB, free: 88.11 MB / 362.7 MB Notification: Performance of SimCode: time 3.524e-06/0.8016, allocations: 0 / 435.6 MB, free: 88.11 MB / 362.7 MB Notification: Performance of Templates: time 0.03505/0.8367, allocations: 13.52 MB / 449.2 MB, free: 87.5 MB / 362.7 MB