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_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.054e-05, allocations: 4 kB / 292.1 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08841/0.08847, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.4547, allocations: 91.63 MB / 434.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.455, allocations: 74.55 kB / 434.3 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1235/0.5785, allocations: 37.33 MB / 471.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.919e-06/0.5786, allocations: 0 / 471.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.5786, allocations: 16 kB / 471.6 MB, free: 1.461 MB / 378.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.001819/0.5804, allocations: 1.036 MB / 472.6 MB, free: 388 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5805, allocations: 8.031 kB / 472.7 MB, free: 380 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.5807, allocations: 110.7 kB / 472.8 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.5821, allocations: 0.7584 MB / 473.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.5822, allocations: 16.52 kB / 473.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.5823, allocations: 24 kB / 473.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.5829, allocations: 298.6 kB / 473.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5829, allocations: 3.938 kB / 473.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.583, allocations: 8 kB / 473.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.583, allocations: 15.98 kB / 473.9 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.5836, allocations: 221 kB / 474.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.586, allocations: 1.199 MB / 475.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.5864, allocations: 186.6 kB / 475.5 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.5869, allocations: 226 kB / 475.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/0.6016, allocations: 10.78 MB / 486.5 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.6017, allocations: 38.5 kB / 486.5 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 3.201e-06/0.6017, allocations: 0 / 486.5 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008727/0.6026, allocations: 356.9 kB / 486.9 MB, free: 160 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.6027, allocations: 81.11 kB / 486.9 MB, free: 60 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.6039, allocations: 0.6653 MB / 487.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.604, allocations: 29.64 kB / 487.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005077/0.6045, allocations: 440.5 kB / 488.1 MB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/0.6046, allocations: 74.83 kB / 488.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.6046, allocations: 8 kB / 488.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6048, allocations: 318 kB / 488.5 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.605, allocations: 56.23 kB / 488.5 MB, free: 14.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.6052, allocations: 133.7 kB / 488.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.6054, allocations: 87.92 kB / 488.7 MB, free: 14.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.698e-06/0.6055, allocations: 0 / 488.7 MB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008202/0.6063, allocations: 385 kB / 489.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6063, allocations: 11.98 kB / 489.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/0.6064, allocations: 12 kB / 489.1 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.6069, allocations: 150.2 kB / 489.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.6071, allocations: 35.91 kB / 489.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000917/0.608, allocations: 0.7045 MB / 490 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.6085, allocations: 35.75 kB / 490 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.6085, allocations: 15.98 kB / 490.1 MB, free: 12.83 MB / 410.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.0001383/0.6087, allocations: 120.7 kB / 490.2 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.6089, allocations: 102.8 kB / 490.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.6101, allocations: 418.3 kB / 490.7 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.6101, allocations: 4 kB / 490.7 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.324e-06/0.6101, allocations: 0 / 490.7 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.396e-06/0.6101, allocations: 4 kB / 490.7 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/0.611, allocations: 0.515 MB / 491.2 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/0.6111, allocations: 15.98 kB / 491.2 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.6112, allocations: 19.98 kB / 491.2 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/0.6117, allocations: 131.5 kB / 491.4 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.6117, allocations: 8 kB / 491.4 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/0.6126, allocations: 0.6967 MB / 492.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.283e-06/0.6126, allocations: 3.953 kB / 492.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.6134, allocations: 452.3 kB / 492.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.6137, allocations: 171.9 kB / 492.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.6138, allocations: 4 kB / 492.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.6142, allocations: 11.94 kB / 492.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.6143, allocations: 19.97 kB / 492.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.6143, allocations: 8 kB / 492.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009414/0.6153, allocations: 0.5197 MB / 493.3 MB, free: 9.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.91e-07/0.6153, allocations: 4 kB / 493.3 MB, free: 9.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000825/0.6162, allocations: 219.6 kB / 493.5 MB, free: 9.277 MB / 410.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.0006485/0.6168, allocations: 321.4 kB / 493.8 MB, free: 8.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.6175, allocations: 270 kB / 494.1 MB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.659e-06/0.6175, allocations: 4.562 kB / 494.1 MB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.6179, allocations: 163.9 kB / 494.2 MB, free: 8.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.6188, allocations: 152.2 kB / 494.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.6208, allocations: 0.832 MB / 495.2 MB, free: 7.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/0.6216, allocations: 0.9607 MB / 496.2 MB, free: 6.504 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004685/0.6221, allocations: 94.02 kB / 496.2 MB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.6222, allocations: 43.44 kB / 496.3 MB, free: 6.367 MB / 410.7 MB Notification: Performance of SimCode: time 1.439e-06/0.6222, allocations: 4 kB / 496.3 MB, free: 6.363 MB / 410.7 MB Notification: Performance of Templates: time 0.02564/0.6478, allocations: 8.992 MB / 0.4934 GB, free: 13.44 MB / 426.7 MB