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.828/1.828, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.909e-05, allocations: 7.938 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07751/0.07756, allocations: 44.51 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.4088, allocations: 85.4 MB / 385.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4091, allocations: 72.86 kB / 385.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09916/0.5083, allocations: 33.94 MB / 419.3 MB, free: 9.277 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.677e-06/0.5083, allocations: 3.938 kB / 419.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.5084, allocations: 11.72 kB / 419.3 MB, free: 9.273 MB / 314.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.001655/0.51, allocations: 1.03 MB / 420.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5101, allocations: 11.88 kB / 420.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.5103, allocations: 113.3 kB / 420.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.5115, allocations: 0.7537 MB / 421.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.5116, allocations: 19.81 kB / 421.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.5116, allocations: 26.69 kB / 421.2 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.5122, allocations: 295.7 kB / 421.5 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5123, allocations: 0 / 421.5 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.5123, allocations: 11.59 kB / 421.5 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5123, allocations: 15.17 kB / 421.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.5128, allocations: 212.5 kB / 421.8 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.5149, allocations: 1.205 MB / 423 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.5153, allocations: 194.9 kB / 423.2 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.5156, allocations: 220.4 kB / 423.4 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/0.528, allocations: 10.8 MB / 434.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5281, allocations: 34.55 kB / 434.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.552e-06/0.5281, allocations: 0 / 434.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007902/0.5289, allocations: 345.3 kB / 434.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.529, allocations: 88.11 kB / 434.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.53, allocations: 0.6646 MB / 435.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.5301, allocations: 29.58 kB / 435.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.5304, allocations: 414.9 kB / 435.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.5305, allocations: 85.25 kB / 435.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.5305, allocations: 3.312 kB / 435.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5307, allocations: 321.8 kB / 436.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.5308, allocations: 60.67 kB / 436.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.531, allocations: 134.6 kB / 436.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.5313, allocations: 93.36 kB / 436.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.15e-06/0.5313, allocations: 0 / 436.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006551/0.5319, allocations: 287.9 kB / 436.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.532, allocations: 13.66 kB / 436.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/0.532, allocations: 15.48 kB / 436.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000429/0.5325, allocations: 138.1 kB / 436.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.5327, allocations: 34.66 kB / 436.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008322/0.5335, allocations: 0.7071 MB / 437.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.5341, allocations: 26.69 kB / 437.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.5342, allocations: 14.78 kB / 437.6 MB, free: 10.83 MB / 330.7 MB 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.0001347/0.5343, allocations: 124.5 kB / 437.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5345, allocations: 108.5 kB / 437.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.5356, allocations: 416.8 kB / 438.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.303e-06/0.5356, allocations: 3.625 kB / 438.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.155e-06/0.5356, allocations: 0 / 438.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5357, allocations: 0 / 438.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.5365, allocations: 0.5068 MB / 438.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/0.5365, allocations: 11.59 kB / 438.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.5367, allocations: 19.69 kB / 438.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/0.5371, allocations: 139.7 kB / 438.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.5371, allocations: 11.52 kB / 439 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008044/0.5379, allocations: 0.7041 MB / 439.7 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.538, allocations: 0 / 439.7 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.5388, allocations: 451.9 kB / 440.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.5391, allocations: 173.8 kB / 440.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.5392, allocations: 11.73 kB / 440.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.5396, allocations: 7.938 kB / 440.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.5397, allocations: 19.42 kB / 440.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.5397, allocations: 11.73 kB / 440.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008596/0.5406, allocations: 0.5197 MB / 440.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.39e-07/0.5406, allocations: 0 / 440.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008312/0.5415, allocations: 216.6 kB / 441.1 MB, free: 9.047 MB / 330.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.0006973/0.5422, allocations: 322.1 kB / 441.4 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.5429, allocations: 260.4 kB / 441.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.559e-06/0.5429, allocations: 0 / 441.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.5433, allocations: 166 kB / 441.8 MB, free: 8.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.544, allocations: 138.2 kB / 441.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.546, allocations: 0.8694 MB / 442.8 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.5467, allocations: 0.9566 MB / 443.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5468, allocations: 42.5 kB / 443.8 MB, free: 7.43 MB / 330.7 MB Notification: Performance of SimCode: time 4.223e-06/0.5468, allocations: 0 / 443.8 MB, free: 7.43 MB / 330.7 MB Notification: Performance of Templates: time 0.02331/0.5701, allocations: 13.53 MB / 457.3 MB, free: 11.19 MB / 346.7 MB