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_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 1.577/1.577, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.949e-05, allocations: 0 / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.3316, allocations: 80.46 MB / 344.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.3319, allocations: 71.97 kB / 344.3 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2925/0.6245, allocations: 34.06 MB / 378.3 MB, free: 81.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.147e-06/0.6245, allocations: 0 / 378.3 MB, free: 81.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.6245, allocations: 13.69 kB / 378.4 MB, free: 81.73 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.001518/0.6261, allocations: 1.037 MB / 379.4 MB, free: 81.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.6261, allocations: 11.78 kB / 379.4 MB, free: 81.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.6263, allocations: 112.9 kB / 379.5 MB, free: 81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.6275, allocations: 0.7486 MB / 380.3 MB, free: 80.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.6276, allocations: 20.19 kB / 380.3 MB, free: 80.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.6277, allocations: 23.34 kB / 380.3 MB, free: 80.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.6282, allocations: 300.3 kB / 380.6 MB, free: 80.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.6283, allocations: 3.938 kB / 380.6 MB, free: 80.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.6283, allocations: 10.12 kB / 380.6 MB, free: 80.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.6283, allocations: 7.906 kB / 380.6 MB, free: 80.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.6288, allocations: 218 kB / 380.8 MB, free: 80.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.6308, allocations: 1.205 MB / 382 MB, free: 80.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.6312, allocations: 188.7 kB / 382.2 MB, free: 80.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.6316, allocations: 230.8 kB / 382.5 MB, free: 80.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.6424, allocations: 10.79 MB / 393.2 MB, free: 69.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.6425, allocations: 30.56 kB / 393.3 MB, free: 69.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.619e-06/0.6425, allocations: 4 kB / 393.3 MB, free: 69.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008172/0.6433, allocations: 347.8 kB / 393.6 MB, free: 69.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.6434, allocations: 77.11 kB / 393.7 MB, free: 69.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6444, allocations: 0.6662 MB / 394.4 MB, free: 69.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.6445, allocations: 32.7 kB / 394.4 MB, free: 69.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.6447, allocations: 417.8 kB / 394.8 MB, free: 68.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.6448, allocations: 80.25 kB / 394.9 MB, free: 68.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.6448, allocations: 7.562 kB / 394.9 MB, free: 68.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.6449, allocations: 318.5 kB / 395.2 MB, free: 68.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.6451, allocations: 57.27 kB / 395.2 MB, free: 68.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.6453, allocations: 144.2 kB / 395.4 MB, free: 68.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.6455, allocations: 90 kB / 395.5 MB, free: 68.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.943e-06/0.6455, allocations: 0 / 395.5 MB, free: 68.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000658/0.6462, allocations: 287.3 kB / 395.8 MB, free: 68.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6462, allocations: 7.406 kB / 395.8 MB, free: 68.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/0.6463, allocations: 15.09 kB / 395.8 MB, free: 68.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004409/0.6467, allocations: 145.6 kB / 395.9 MB, free: 68.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.6469, allocations: 36.5 kB / 396 MB, free: 68.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006937/0.6477, allocations: 0.7082 MB / 396.7 MB, free: 67.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.6482, allocations: 33.56 kB / 396.7 MB, free: 67.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.6483, allocations: 12.72 kB / 396.7 MB, free: 67.61 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 0.0001003/0.6484, allocations: 117.5 kB / 396.8 MB, free: 67.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.6486, allocations: 102.9 kB / 396.9 MB, free: 67.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.6497, allocations: 421.6 kB / 397.3 MB, free: 67.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.248e-06/0.6498, allocations: 7.156 kB / 397.3 MB, free: 67.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-06/0.6498, allocations: 0 / 397.3 MB, free: 67.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.167e-06/0.6498, allocations: 11.73 kB / 397.4 MB, free: 67.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007889/0.6506, allocations: 0.5051 MB / 397.9 MB, free: 66.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/0.6506, allocations: 14.23 kB / 397.9 MB, free: 66.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.6508, allocations: 20.62 kB / 397.9 MB, free: 66.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.6513, allocations: 141.2 kB / 398 MB, free: 66.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.6513, allocations: 6.906 kB / 398 MB, free: 66.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006548/0.652, allocations: 0.7094 MB / 398.7 MB, free: 66.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.51e-06/0.652, allocations: 0 / 398.7 MB, free: 66.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007156/0.6527, allocations: 452.2 kB / 399.2 MB, free: 66.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.653, allocations: 174.4 kB / 399.4 MB, free: 65.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.6531, allocations: 7.609 kB / 399.4 MB, free: 65.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.6535, allocations: 7.781 kB / 399.4 MB, free: 65.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.6536, allocations: 18.39 kB / 399.4 MB, free: 65.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.6536, allocations: 14.64 kB / 399.4 MB, free: 65.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007708/0.6544, allocations: 0.5258 MB / 399.9 MB, free: 65.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-07/0.6544, allocations: 0 / 399.9 MB, free: 65.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008186/0.6553, allocations: 207.7 kB / 400.1 MB, free: 65.57 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.0005637/0.6558, allocations: 323.8 kB / 400.5 MB, free: 65.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006142/0.6565, allocations: 258.2 kB / 400.7 MB, free: 65.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.581e-06/0.6565, allocations: 0 / 400.7 MB, free: 65.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.6568, allocations: 165.1 kB / 400.9 MB, free: 65.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.6575, allocations: 129.2 kB / 401 MB, free: 65.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.6593, allocations: 0.879 MB / 401.9 MB, free: 64.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.6597, allocations: 0.9541 MB / 402.8 MB, free: 63.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.6599, allocations: 47.44 kB / 402.9 MB, free: 63.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.679e-06/0.6599, allocations: 0 / 402.9 MB, free: 63.51 MB / 314.7 MB Notification: Performance of Templates: time 0.01839/0.6783, allocations: 13.53 MB / 416.4 MB, free: 52.06 MB / 314.7 MB