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 2.017/2.017, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.381e-05, allocations: 7.906 kB / 258.8 MB, free: 8.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3324, allocations: 44.51 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00637/0.3388, allocations: 4.046 MB / 307.3 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.352, allocations: 7.051 MB / 314.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007175/0.3528, allocations: 15.94 kB / 314.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.3538, allocations: 262.6 kB / 314.7 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.3566, allocations: 0.6385 MB / 315.3 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3583, allocations: 394.8 kB / 315.7 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004147/0.3625, allocations: 1.443 MB / 317.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.3628, allocations: 56.52 kB / 317.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.3633, allocations: 203.4 kB / 317.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.3639, allocations: 254.8 kB / 317.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.3661, allocations: 0.5426 MB / 318.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.3664, allocations: 40 kB / 318.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3665, allocations: 87.38 kB / 318.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.3668, allocations: 76 kB / 318.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.3683, allocations: 0.8336 MB / 319.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3684, allocations: 4 kB / 319.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3684, allocations: 0 / 319.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.3684, allocations: 0 / 319.2 MB, free: 13.75 MB / 266.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.002003/0.3704, allocations: 0.9739 MB / 320.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3705, allocations: 12.03 kB / 320.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.3707, allocations: 110.7 kB / 320.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.3726, allocations: 0.7816 MB / 321.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.3727, allocations: 16.56 kB / 321.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-05/0.3728, allocations: 24 kB / 321.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.3736, allocations: 315.7 kB / 321.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3736, allocations: 0 / 321.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.3737, allocations: 8 kB / 321.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.3737, allocations: 8 kB / 321.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.3744, allocations: 234.1 kB / 321.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.3771, allocations: 1.206 MB / 322.9 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.3777, allocations: 210.4 kB / 323.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.391, allocations: 8.616 MB / 331.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.3912, allocations: 34.56 kB / 331.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 2.755e-06/0.3912, allocations: 0 / 331.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.002653/0.3938, allocations: 0.6504 MB / 332.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.3939, allocations: 85.09 kB / 332.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.3952, allocations: 0.6722 MB / 333.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.3953, allocations: 25.7 kB / 333.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/0.3958, allocations: 430.5 kB / 333.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.371e-05/0.3959, allocations: 70.92 kB / 333.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.3959, allocations: 4 kB / 333.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3961, allocations: 330.8 kB / 334 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.3963, allocations: 64.2 kB / 334.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.3967, allocations: 153.8 kB / 334.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.397, allocations: 80.59 kB / 334.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.397, allocations: 8.031 kB / 334.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008915/0.3979, allocations: 318 kB / 334.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3979, allocations: 8 kB / 334.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/0.398, allocations: 12 kB / 334.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.3985, allocations: 142.9 kB / 334.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.3988, allocations: 39.97 kB / 334.8 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009503/0.3998, allocations: 0.7045 MB / 335.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.4003, allocations: 27.67 kB / 335.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.4004, allocations: 16 kB / 335.5 MB, free: 11.66 MB / 282.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.000399/0.4008, allocations: 197.7 kB / 335.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.401, allocations: 102.8 kB / 335.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.4024, allocations: 415.6 kB / 336.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4024, allocations: 4 kB / 336.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4025, allocations: 4 kB / 336.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4025, allocations: 0 / 336.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009691/0.4034, allocations: 0.5112 MB / 336.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/0.4035, allocations: 12 kB / 336.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.4037, allocations: 19.92 kB / 336.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.4042, allocations: 142.6 kB / 336.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.4043, allocations: 12 kB / 336.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009101/0.4052, allocations: 0.7007 MB / 337.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4052, allocations: 0 / 337.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.4062, allocations: 464.1 kB / 338.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.4065, allocations: 179.8 kB / 338.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.4067, allocations: 4 kB / 338.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.4071, allocations: 11.98 kB / 338.3 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.4072, allocations: 11.98 kB / 338.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.4073, allocations: 8 kB / 338.3 MB, free: 8.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.4084, allocations: 0.5383 MB / 338.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4084, allocations: 0 / 338.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008155/0.4092, allocations: 191.8 kB / 339 MB, free: 8.027 MB / 282.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.0006589/0.4099, allocations: 271.6 kB / 339.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009375/0.4108, allocations: 287.7 kB / 339.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4109, allocations: 0 / 339.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.4113, allocations: 177.8 kB / 339.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.4122, allocations: 132.2 kB / 339.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.4151, allocations: 1.425 MB / 341.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.4159, allocations: 0.9527 MB / 342.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.4161, allocations: 51.42 kB / 342.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4161, allocations: 4 kB / 342.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of Templates: time 0.02848/0.4446, allocations: 13.47 MB / 355.8 MB, free: 7.16 MB / 298.7 MB