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.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.126e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 38.77 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.4158, allocations: 80.46 MB / 344.2 MB, free: 9.254 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4161, allocations: 71.97 kB / 344.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2919/0.708, allocations: 34.06 MB / 378.4 MB, free: 81.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.916e-06/0.7081, allocations: 0 / 378.4 MB, free: 81.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.7081, allocations: 15.59 kB / 378.4 MB, free: 81.82 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.001498/0.7096, allocations: 1.027 MB / 379.4 MB, free: 81.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7097, allocations: 11.66 kB / 379.4 MB, free: 81.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.7098, allocations: 125.6 kB / 379.6 MB, free: 81.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.7109, allocations: 0.7433 MB / 380.3 MB, free: 80.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.711, allocations: 18.25 kB / 380.3 MB, free: 80.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.7111, allocations: 21.59 kB / 380.3 MB, free: 80.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.7116, allocations: 308.1 kB / 380.6 MB, free: 80.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.7116, allocations: 1.875 kB / 380.6 MB, free: 80.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.7117, allocations: 11.69 kB / 380.6 MB, free: 80.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.7117, allocations: 10.47 kB / 380.7 MB, free: 80.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.7122, allocations: 216.2 kB / 380.9 MB, free: 80.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.7141, allocations: 1.21 MB / 382.1 MB, free: 80.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.7145, allocations: 189.8 kB / 382.3 MB, free: 80.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.7149, allocations: 218.1 kB / 382.5 MB, free: 80.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.7254, allocations: 10.79 MB / 393.3 MB, free: 70.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.7255, allocations: 30.56 kB / 393.3 MB, free: 70.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.389e-06/0.7255, allocations: 0 / 393.3 MB, free: 70.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007602/0.7263, allocations: 348.4 kB / 393.6 MB, free: 69.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.7263, allocations: 77.11 kB / 393.7 MB, free: 69.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.7273, allocations: 0.6738 MB / 394.4 MB, free: 69.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.7273, allocations: 25.7 kB / 394.4 MB, free: 69.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.7277, allocations: 437 kB / 394.8 MB, free: 69.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.7278, allocations: 80.22 kB / 394.9 MB, free: 69.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.7278, allocations: 0 / 394.9 MB, free: 69.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.7279, allocations: 321.6 kB / 395.2 MB, free: 68.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.728, allocations: 61.39 kB / 395.3 MB, free: 68.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.7282, allocations: 138.3 kB / 395.4 MB, free: 68.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.7285, allocations: 90 kB / 395.5 MB, free: 68.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.899e-06/0.7285, allocations: 0 / 395.5 MB, free: 68.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007066/0.7292, allocations: 385.3 kB / 395.9 MB, free: 68.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7292, allocations: 10.36 kB / 395.9 MB, free: 68.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/0.7293, allocations: 12.91 kB / 395.9 MB, free: 68.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.7297, allocations: 138.1 kB / 396 MB, free: 68.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.7299, allocations: 41.27 kB / 396.1 MB, free: 68.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006625/0.7306, allocations: 0.7038 MB / 396.8 MB, free: 67.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.731, allocations: 33.75 kB / 396.8 MB, free: 67.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.7311, allocations: 14.03 kB / 396.8 MB, free: 67.69 MB / 314.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 9.321e-05/0.7312, allocations: 121.7 kB / 397 MB, free: 67.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.7314, allocations: 106.9 kB / 397.1 MB, free: 67.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.7325, allocations: 417.6 kB / 397.5 MB, free: 67.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.205e-06/0.7325, allocations: 3.516 kB / 397.5 MB, free: 67.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.244e-06/0.7325, allocations: 2.188 kB / 397.5 MB, free: 67.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.7325, allocations: 3.953 kB / 397.5 MB, free: 67.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006937/0.7332, allocations: 0.5089 MB / 398 MB, free: 67.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.7333, allocations: 9.812 kB / 398 MB, free: 67.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.7334, allocations: 23.19 kB / 398 MB, free: 67.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.7338, allocations: 137.4 kB / 398.2 MB, free: 66.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.7338, allocations: 6.156 kB / 398.2 MB, free: 66.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005955/0.7344, allocations: 0.7072 MB / 398.9 MB, free: 66.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.969e-06/0.7345, allocations: 7.875 kB / 398.9 MB, free: 66.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.7351, allocations: 454.2 kB / 399.3 MB, free: 66.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.7353, allocations: 175.6 kB / 399.5 MB, free: 65.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.7355, allocations: 0 / 399.5 MB, free: 65.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.7358, allocations: 13.39 kB / 399.5 MB, free: 65.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.7359, allocations: 15.56 kB / 399.5 MB, free: 65.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.7359, allocations: 14.12 kB / 399.5 MB, free: 65.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007262/0.7367, allocations: 0.5253 MB / 400.1 MB, free: 65.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.87e-07/0.7367, allocations: 0 / 400.1 MB, free: 65.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007663/0.7375, allocations: 214.5 kB / 400.3 MB, free: 65.64 MB / 314.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.0005304/0.738, allocations: 323.1 kB / 400.6 MB, free: 65.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.7386, allocations: 254.8 kB / 400.8 MB, free: 65.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.455e-06/0.7386, allocations: 0 / 400.8 MB, free: 65.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.7389, allocations: 168.3 kB / 401 MB, free: 65.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.7395, allocations: 133.6 kB / 401.1 MB, free: 65.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.7412, allocations: 0.8334 MB / 402 MB, free: 64.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.7416, allocations: 0.9579 MB / 402.9 MB, free: 63.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004094/0.7421, allocations: 92 kB / 403 MB, free: 63.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.7422, allocations: 51.44 kB / 403.1 MB, free: 63.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.649e-06/0.7422, allocations: 4 kB / 403.1 MB, free: 63.37 MB / 314.7 MB Notification: Performance of Templates: time 0.02184/0.764, allocations: 8.956 MB / 412 MB, free: 56.42 MB / 314.7 MB