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.777/1.777, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.002e-05/5.01e-05, allocations: 10.17 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.008432/0.1134, allocations: 4.059 MB / 271 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.1315, allocations: 7.032 MB / 278 MB, free: 5.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008605/0.1324, allocations: 11.94 kB / 278 MB, free: 5.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.1339, allocations: 266.5 kB / 278.3 MB, free: 5.078 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.1377, allocations: 0.6425 MB / 278.9 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.1401, allocations: 390.8 kB / 279.3 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005144/0.1453, allocations: 1.451 MB / 280.8 MB, free: 2.598 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.1457, allocations: 72.39 kB / 280.8 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005629/0.1462, allocations: 207.4 kB / 281 MB, free: 2.32 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005434/0.1468, allocations: 250.8 kB / 281.3 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.149, allocations: 0.5426 MB / 281.8 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.1493, allocations: 43.94 kB / 281.9 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1495, allocations: 79.45 kB / 281.9 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.1498, allocations: 80 kB / 282 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.1515, allocations: 0.8413 MB / 282.9 MB, free: 500 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1515, allocations: 0 / 282.9 MB, free: 500 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.073e-06/0.1515, allocations: 3.984 kB / 282.9 MB, free: 496 kB / 234.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.1515, allocations: 0 / 282.9 MB, free: 496 kB / 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.002128/0.1537, allocations: 0.9701 MB / 283.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1537, allocations: 8.031 kB / 283.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.154, allocations: 114.7 kB / 283.9 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.156, allocations: 0.774 MB / 284.7 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.156, allocations: 24.5 kB / 284.7 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.1561, allocations: 24 kB / 284.8 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.1569, allocations: 307.7 kB / 285.1 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.157, allocations: 3.984 kB / 285.1 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.157, allocations: 8 kB / 285.1 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.1571, allocations: 8 kB / 285.1 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.1578, allocations: 238.1 kB / 285.3 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.1606, allocations: 1.19 MB / 286.5 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.1614, allocations: 213.8 kB / 286.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01355/0.1749, allocations: 8.605 MB / 295.3 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.175, allocations: 38.52 kB / 295.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 3.807e-06/0.175, allocations: 0 / 295.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.002818/0.1779, allocations: 0.6581 MB / 296 MB, free: 1.695 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.178, allocations: 81.11 kB / 296.1 MB, free: 1.598 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.1794, allocations: 0.6761 MB / 296.8 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.1795, allocations: 25.7 kB / 296.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.1801, allocations: 436.7 kB / 297.2 MB, free: 456 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1802, allocations: 86.78 kB / 297.3 MB, free: 368 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.1802, allocations: 4 kB / 297.3 MB, free: 364 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1804, allocations: 322 kB / 297.6 MB, free: 36 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2443/0.4247, allocations: 60.33 kB / 297.7 MB, free: 31.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.4252, allocations: 149.7 kB / 297.8 MB, free: 31.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.4255, allocations: 90.66 kB / 297.9 MB, free: 31.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4255, allocations: 0 / 297.9 MB, free: 31.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001087/0.4266, allocations: 418 kB / 298.3 MB, free: 31.78 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.4267, allocations: 5.5 kB / 298.3 MB, free: 31.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.702e-05/0.4267, allocations: 16.05 kB / 298.4 MB, free: 31.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.4273, allocations: 141.3 kB / 298.5 MB, free: 31.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.4276, allocations: 35.94 kB / 298.5 MB, free: 31.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008604/0.4285, allocations: 0.7073 MB / 299.2 MB, free: 31.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.429, allocations: 26.09 kB / 299.3 MB, free: 31.24 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.429, allocations: 16.66 kB / 299.3 MB, free: 31.24 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.0004167/0.4295, allocations: 198.3 kB / 299.5 MB, free: 31.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.4297, allocations: 104.9 kB / 299.6 MB, free: 31.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.4311, allocations: 417.8 kB / 300 MB, free: 31.01 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4311, allocations: 5.625 kB / 300 MB, free: 31.01 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4312, allocations: 3.953 kB / 300 MB, free: 31 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4312, allocations: 4.969 kB / 300 MB, free: 31 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.4321, allocations: 0.5093 MB / 300.5 MB, free: 30.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-05/0.4322, allocations: 13.72 kB / 300.5 MB, free: 30.76 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.4324, allocations: 21.12 kB / 300.5 MB, free: 30.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/0.4329, allocations: 132.6 kB / 300.7 MB, free: 30.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.433, allocations: 9.516 kB / 300.7 MB, free: 30.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008166/0.4338, allocations: 0.7091 MB / 301.4 MB, free: 30.13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4338, allocations: 0 / 301.4 MB, free: 30.13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4349, allocations: 465.6 kB / 301.8 MB, free: 29.86 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.4352, allocations: 172.7 kB / 302 MB, free: 29.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.4353, allocations: 3.016 kB / 302 MB, free: 29.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.4357, allocations: 8 kB / 302 MB, free: 29.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.4358, allocations: 14.09 kB / 302 MB, free: 29.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.4359, allocations: 16.56 kB / 302 MB, free: 29.7 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001052/0.4369, allocations: 0.5292 MB / 302.6 MB, free: 29.46 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4369, allocations: 0 / 302.6 MB, free: 29.46 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008718/0.4378, allocations: 191.5 kB / 302.8 MB, free: 29.45 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.0006357/0.4385, allocations: 282 kB / 303 MB, free: 29.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.4395, allocations: 287.2 kB / 303.3 MB, free: 29.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4396, allocations: 1.422 kB / 303.3 MB, free: 29.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.44, allocations: 188 kB / 303.5 MB, free: 29.13 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.4409, allocations: 123.5 kB / 303.6 MB, free: 29.08 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.4439, allocations: 1.389 MB / 305 MB, free: 28.27 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.4446, allocations: 0.9604 MB / 306 MB, free: 27.56 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0006364/0.4452, allocations: 97.11 kB / 306.1 MB, free: 27.54 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.4454, allocations: 51.05 kB / 306.1 MB, free: 27.52 MB / 250.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4454, allocations: 0 / 306.1 MB, free: 27.52 MB / 250.7 MB Notification: Performance of Templates: time 0.02656/0.4719, allocations: 8.221 MB / 314.3 MB, free: 24.42 MB / 250.7 MB