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.913/1.913, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3e-05, allocations: 3.5 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3871/0.4891, allocations: 85.41 MB / 385.2 MB, free: 21.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4894, allocations: 69.69 kB / 385.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1107/0.6001, allocations: 33.95 MB / 419.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.6001, allocations: 0 / 419.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.649e-05/0.6002, allocations: 11.72 kB / 419.3 MB, free: 9.121 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.001499/0.6017, allocations: 1.038 MB / 420.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6017, allocations: 7.906 kB / 420.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.6019, allocations: 113.2 kB / 420.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.603, allocations: 0.7473 MB / 421.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.6031, allocations: 23.41 kB / 421.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.6032, allocations: 25.88 kB / 421.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.6037, allocations: 300.9 kB / 421.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6038, allocations: 0 / 421.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.6038, allocations: 11.44 kB / 421.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.6038, allocations: 11.77 kB / 421.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.6043, allocations: 223.6 kB / 421.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.6064, allocations: 1.198 MB / 422.9 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.6068, allocations: 199.5 kB / 423.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.6072, allocations: 222.1 kB / 423.4 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.6196, allocations: 10.78 MB / 434.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.6197, allocations: 46.42 kB / 434.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.219e-06/0.6197, allocations: 0 / 434.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007797/0.6205, allocations: 344.2 kB / 434.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.6206, allocations: 80.86 kB / 434.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.6216, allocations: 0.6702 MB / 435.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.6217, allocations: 29.02 kB / 435.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.622, allocations: 416.4 kB / 435.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.622, allocations: 84.69 kB / 435.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.6221, allocations: 3.75 kB / 435.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6222, allocations: 322.3 kB / 436.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.6224, allocations: 58.17 kB / 436.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.6226, allocations: 140.9 kB / 436.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.6228, allocations: 83.94 kB / 436.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.206e-06/0.6228, allocations: 0 / 436.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006358/0.6235, allocations: 290.8 kB / 436.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6235, allocations: 7.969 kB / 436.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/0.6236, allocations: 23.23 kB / 436.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.624, allocations: 138.5 kB / 436.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.6243, allocations: 37.56 kB / 436.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008469/0.6251, allocations: 0.7022 MB / 437.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.6257, allocations: 30.88 kB / 437.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.6257, allocations: 19.06 kB / 437.6 MB, free: 10.67 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.0001408/0.6259, allocations: 120.5 kB / 437.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.6261, allocations: 113 kB / 437.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.6273, allocations: 409.8 kB / 438.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.046e-06/0.6273, allocations: 3.75 kB / 438.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-06/0.6273, allocations: 0 / 438.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.976e-06/0.6273, allocations: 0 / 438.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/0.6282, allocations: 0.5104 MB / 438.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/0.6282, allocations: 11.62 kB / 438.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.6284, allocations: 19.59 kB / 438.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.6288, allocations: 134.6 kB / 438.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.6288, allocations: 10.77 kB / 438.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008408/0.6297, allocations: 0.7048 MB / 439.6 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.261e-06/0.6297, allocations: 4.062 kB / 439.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.6305, allocations: 455.8 kB / 440.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.6309, allocations: 178.2 kB / 440.3 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.631, allocations: 7.188 kB / 440.3 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.6314, allocations: 7.875 kB / 440.3 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.6314, allocations: 14.83 kB / 440.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.6315, allocations: 11.39 kB / 440.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008638/0.6323, allocations: 0.5249 MB / 440.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.69e-07/0.6324, allocations: 0 / 440.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008157/0.6332, allocations: 212.3 kB / 441 MB, free: 8.898 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.0006024/0.6338, allocations: 326.4 kB / 441.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000639/0.6345, allocations: 269.5 kB / 441.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6345, allocations: 0 / 441.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.6348, allocations: 173 kB / 441.8 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.6355, allocations: 125.4 kB / 441.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.6375, allocations: 0.8787 MB / 442.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.6382, allocations: 0.9549 MB / 443.7 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6383, allocations: 42.66 kB / 443.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of SimCode: time 2.108e-06/0.6383, allocations: 0 / 443.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of Templates: time 0.02365/0.662, allocations: 13.59 MB / 457.4 MB, free: 11.03 MB / 346.7 MB