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.813/1.813, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.248e-05, allocations: 4 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08483, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00647/0.09136, allocations: 4.053 MB / 270.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.1044, allocations: 7.04 MB / 278 MB, free: 6.004 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006712/0.1051, allocations: 19.88 kB / 278 MB, free: 5.984 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008998/0.106, allocations: 258.6 kB / 278.3 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.1087, allocations: 0.6423 MB / 278.9 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1104, allocations: 394.8 kB / 279.3 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003926/0.1143, allocations: 1.455 MB / 280.7 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.1146, allocations: 64.45 kB / 280.8 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.1151, allocations: 215.3 kB / 281 MB, free: 2.965 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.1156, allocations: 250.8 kB / 281.3 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.1176, allocations: 0.5387 MB / 281.8 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.1179, allocations: 44 kB / 281.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.118, allocations: 79.39 kB / 281.9 MB, free: 2.059 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.1183, allocations: 76 kB / 282 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.1199, allocations: 0.8452 MB / 282.8 MB, free: 1.137 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1199, allocations: 0 / 282.8 MB, free: 1.137 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1199, allocations: 4 kB / 282.8 MB, free: 1.133 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.12, allocations: 4 kB / 282.8 MB, free: 1.129 MB / 234.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.002017/0.122, allocations: 0.9584 MB / 283.8 MB, free: 124 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.122, allocations: 12.03 kB / 283.8 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.1223, allocations: 110.7 kB / 283.9 MB, free: 0 / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.1242, allocations: 0.7779 MB / 284.7 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.1242, allocations: 20.56 kB / 284.7 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.1243, allocations: 24 kB / 284.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.1252, allocations: 307.7 kB / 285 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1252, allocations: 0 / 285 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.1253, allocations: 15.94 kB / 285.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1253, allocations: 4 kB / 285.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/0.126, allocations: 250.1 kB / 285.3 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.1289, allocations: 1.19 MB / 286.5 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.1295, allocations: 209.7 kB / 286.7 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.1428, allocations: 8.601 MB / 295.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.1429, allocations: 46.5 kB / 295.3 MB, free: 3.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 2.715e-06/0.1429, allocations: 0 / 295.3 MB, free: 3.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.002766/0.1457, allocations: 0.6504 MB / 296 MB, free: 2.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.1458, allocations: 81.11 kB / 296.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.1472, allocations: 0.6799 MB / 296.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.1473, allocations: 29.7 kB / 296.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.1478, allocations: 422.6 kB / 297.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1479, allocations: 78.84 kB / 297.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.1479, allocations: 8 kB / 297.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1481, allocations: 314.8 kB / 297.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.1483, allocations: 72.2 kB / 297.7 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.1487, allocations: 153.8 kB / 297.8 MB, free: 460 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.149, allocations: 91.95 kB / 297.9 MB, free: 368 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.149, allocations: 0 / 297.9 MB, free: 368 kB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009021/0.1499, allocations: 324.9 kB / 298.2 MB, free: 36 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.15, allocations: 4 kB / 298.2 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-05/0.15, allocations: 20.28 kB / 298.2 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2437/0.3937, allocations: 131.9 kB / 298.4 MB, free: 31.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.3941, allocations: 33.77 kB / 298.4 MB, free: 31.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.395, allocations: 0.7091 MB / 299.1 MB, free: 31.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.3955, allocations: 28.17 kB / 299.1 MB, free: 31.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.3956, allocations: 12.14 kB / 299.1 MB, free: 31.26 MB / 250.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.0003783/0.3959, allocations: 197.9 kB / 299.3 MB, free: 31.15 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3961, allocations: 105.6 kB / 299.4 MB, free: 31.12 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.3976, allocations: 410.7 kB / 299.8 MB, free: 31.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3976, allocations: 1.375 kB / 299.8 MB, free: 31.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.3976, allocations: 4.266 kB / 299.9 MB, free: 31.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3976, allocations: 1.078 kB / 299.9 MB, free: 31.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/0.3986, allocations: 0.5052 MB / 300.4 MB, free: 30.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.156e-05/0.3987, allocations: 13.3 kB / 300.4 MB, free: 30.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.3989, allocations: 25.56 kB / 300.4 MB, free: 30.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/0.3995, allocations: 135.6 kB / 300.5 MB, free: 30.86 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.3995, allocations: 7.703 kB / 300.5 MB, free: 30.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008013/0.4003, allocations: 0.7069 MB / 301.2 MB, free: 30.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4003, allocations: 0 / 301.2 MB, free: 30.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.4013, allocations: 462.5 kB / 301.7 MB, free: 30.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.4016, allocations: 175.6 kB / 301.9 MB, free: 29.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4018, allocations: 8.469 kB / 301.9 MB, free: 29.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.4021, allocations: 11.98 kB / 301.9 MB, free: 29.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.4022, allocations: 17.45 kB / 301.9 MB, free: 29.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.4023, allocations: 8.125 kB / 301.9 MB, free: 29.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.4034, allocations: 0.5335 MB / 302.4 MB, free: 29.69 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4035, allocations: 0 / 302.4 MB, free: 29.69 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009009/0.4044, allocations: 195.6 kB / 302.6 MB, free: 29.68 MB / 250.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.0006648/0.4051, allocations: 272 kB / 302.9 MB, free: 29.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009783/0.4061, allocations: 292 kB / 303.2 MB, free: 29.46 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4061, allocations: 0 / 303.2 MB, free: 29.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.4065, allocations: 180.1 kB / 303.4 MB, free: 29.37 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.4074, allocations: 130.3 kB / 303.5 MB, free: 29.3 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.4102, allocations: 1.428 MB / 304.9 MB, free: 28.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.4107, allocations: 0.9623 MB / 305.9 MB, free: 27.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.4109, allocations: 51.42 kB / 305.9 MB, free: 27.76 MB / 250.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4109, allocations: 0 / 305.9 MB, free: 27.76 MB / 250.7 MB Notification: Performance of Templates: time 0.02809/0.439, allocations: 13.48 MB / 319.4 MB, free: 20.12 MB / 250.7 MB