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_trunk_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 2.32/2.32, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.142e-05, allocations: 4 kB / 294.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 50.41 MB / 345 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006474/0.1194, allocations: 4.109 MB / 349.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.133, allocations: 7.362 MB / 356.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007308/0.1338, allocations: 15.94 kB / 356.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009325/0.1347, allocations: 266.5 kB / 356.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.1376, allocations: 0.6385 MB / 357.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.1394, allocations: 402.7 kB / 357.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004032/0.1435, allocations: 1.459 MB / 359.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1437, allocations: 60.47 kB / 359.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.1443, allocations: 239.3 kB / 359.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.1448, allocations: 254.8 kB / 359.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.147, allocations: 0.6127 MB / 360.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.1473, allocations: 40 kB / 360.4 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1474, allocations: 79.45 kB / 360.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.1477, allocations: 80 kB / 360.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.1493, allocations: 0.8413 MB / 361.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1493, allocations: 0 / 361.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1493, allocations: 0 / 361.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.1494, allocations: 0 / 361.4 MB, free: 8.504 MB / 298.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.001994/0.1514, allocations: 0.9739 MB / 362.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1514, allocations: 8.031 kB / 362.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.1517, allocations: 110.7 kB / 362.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.1535, allocations: 0.7739 MB / 363.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.1536, allocations: 20.56 kB / 363.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.1537, allocations: 27.98 kB / 363.3 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008079/0.1545, allocations: 303.7 kB / 363.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1546, allocations: 7.891 kB / 363.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.1546, allocations: 12 kB / 363.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1546, allocations: 11.98 kB / 363.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.1553, allocations: 230.1 kB / 363.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.1581, allocations: 1.198 MB / 365.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.1587, allocations: 198.6 kB / 365.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/0.1719, allocations: 8.621 MB / 373.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.1719, allocations: 34.5 kB / 373.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.337e-06/0.172, allocations: 0 / 373.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.002665/0.1746, allocations: 0.6598 MB / 374.6 MB, free: 9.703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.1747, allocations: 77.11 kB / 374.6 MB, free: 9.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.176, allocations: 0.6761 MB / 375.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.1761, allocations: 25.7 kB / 375.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.1766, allocations: 422.6 kB / 375.8 MB, free: 8.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.1767, allocations: 82.84 kB / 375.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.1767, allocations: 4 kB / 375.8 MB, free: 8.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1769, allocations: 318.8 kB / 376.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.1771, allocations: 76.41 kB / 376.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.1775, allocations: 142.4 kB / 376.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.1778, allocations: 94.45 kB / 376.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1778, allocations: 0 / 376.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008958/0.1787, allocations: 325.9 kB / 376.8 MB, free: 7.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1787, allocations: 4 kB / 376.8 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.724e-05/0.1788, allocations: 19.98 kB / 376.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.1794, allocations: 144 kB / 376.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.1797, allocations: 35.91 kB / 377 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009535/0.1806, allocations: 0.6968 MB / 377.7 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.1812, allocations: 39.8 kB / 377.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.1812, allocations: 12 kB / 377.7 MB, free: 6.43 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.0004082/0.1816, allocations: 197.7 kB / 377.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.1818, allocations: 106.8 kB / 378 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.1833, allocations: 423.4 kB / 378.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1833, allocations: 0 / 378.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1833, allocations: 0 / 378.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.1833, allocations: 7.984 kB / 378.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009138/0.1842, allocations: 0.5112 MB / 379 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.929e-05/0.1843, allocations: 15.98 kB / 379 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.1845, allocations: 19.98 kB / 379 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/0.185, allocations: 132.7 kB / 379.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.1851, allocations: 8 kB / 379.1 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00096/0.186, allocations: 0.707 MB / 379.8 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.186, allocations: 0 / 379.8 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.187, allocations: 454.9 kB / 380.3 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.1873, allocations: 175.8 kB / 380.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.1875, allocations: 8 kB / 380.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.1879, allocations: 8 kB / 380.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.188, allocations: 11.98 kB / 380.5 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.188, allocations: 8 kB / 380.5 MB, free: 3.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.1891, allocations: 0.5344 MB / 381 MB, free: 2.992 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1891, allocations: 0 / 381 MB, free: 2.992 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008403/0.1899, allocations: 191.8 kB / 381.2 MB, free: 2.805 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.000658/0.1906, allocations: 283.4 kB / 381.5 MB, free: 2.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.1916, allocations: 279.1 kB / 381.8 MB, free: 2.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1916, allocations: 0.5625 kB / 381.8 MB, free: 2.234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.1921, allocations: 187.3 kB / 381.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.1932, allocations: 150.9 kB / 382.1 MB, free: 1.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.1962, allocations: 1.432 MB / 383.5 MB, free: 432 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.1969, allocations: 0.953 MB / 384.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.1971, allocations: 51.42 kB / 384.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1971, allocations: 0 / 384.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of Templates: time 0.02851/0.2256, allocations: 13.48 MB / 398 MB, free: 1.934 MB / 330.7 MB