Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 2.293/2.293, allocations: 224.7 MB / 241.1 MB, free: 1.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.077e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002903/0.1163, allocations: 1.661 MB / 346.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1175, allocations: 467.4 kB / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1177, allocations: 8 kB / 347.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.983e-05/0.1178, allocations: 23.83 kB / 347.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.118, allocations: 55.84 kB / 347.2 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1182, allocations: 35.95 kB / 347.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.1185, allocations: 123.7 kB / 347.3 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.1187, allocations: 52.27 kB / 347.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1189, allocations: 59.84 kB / 347.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.119, allocations: 79.72 kB / 347.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.1191, allocations: 8 kB / 347.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.1191, allocations: 8 kB / 347.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.1192, allocations: 27.91 kB / 347.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.1193, allocations: 20 kB / 347.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1195, allocations: 175.8 kB / 347.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1196, allocations: 0 / 347.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1196, allocations: 0 / 347.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1196, allocations: 0 / 347.8 MB, free: 6.145 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009449/0.1206, allocations: 454.8 kB / 348.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1206, allocations: 8.031 kB / 348.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.1207, allocations: 27.67 kB / 348.2 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.121, allocations: 218.7 kB / 348.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1211, allocations: 12 kB / 348.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.1211, allocations: 23.94 kB / 348.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.1217, allocations: 177.5 kB / 348.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1218, allocations: 4 kB / 348.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.1218, allocations: 11.94 kB / 348.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1218, allocations: 4 kB / 348.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.1224, allocations: 151.8 kB / 348.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.1242, allocations: 0.7585 MB / 349.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/0.1249, allocations: 174.5 kB / 349.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.125, allocations: 4 kB / 349.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.125, allocations: 38.56 kB / 349.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/0.125, allocations: 0 / 349.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007893/0.1258, allocations: 185.5 kB / 350 MB, free: 3.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1259, allocations: 55.41 kB / 350 MB, free: 3.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1261, allocations: 140.3 kB / 350.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.1261, allocations: 33.64 kB / 350.2 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1263, allocations: 206.5 kB / 350.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.1263, allocations: 47.3 kB / 350.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.1263, allocations: 4 kB / 350.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1265, allocations: 314.8 kB / 350.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.1267, allocations: 55.97 kB / 350.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.127, allocations: 81.64 kB / 350.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1272, allocations: 55.98 kB / 350.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1273, allocations: 0 / 350.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005735/0.1278, allocations: 188.4 kB / 351.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1279, allocations: 4 kB / 351.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1279, allocations: 4 kB / 351.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1279, allocations: 0 / 351.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.1283, allocations: 39.97 kB / 351.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1284, allocations: 4 kB / 351.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1286, allocations: 27.81 kB / 351.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.1286, allocations: 4 kB / 351.2 MB, free: 2.453 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.1288, allocations: 129.7 kB / 351.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.1288, allocations: 11.91 kB / 351.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.1289, allocations: 20.83 kB / 351.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1289, allocations: 0 / 351.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1289, allocations: 3.938 kB / 351.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1289, allocations: 3.984 kB / 351.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1294, allocations: 269.8 kB / 351.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1294, allocations: 0 / 351.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.1298, allocations: 43.97 kB / 351.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1299, allocations: 0 / 351.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.1299, allocations: 4 kB / 351.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.1299, allocations: 7.922 kB / 351.7 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1299, allocations: 0 / 351.7 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.1307, allocations: 311.3 kB / 352 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.1308, allocations: 96.94 kB / 352.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.1309, allocations: 4 kB / 352.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.1311, allocations: 19.98 kB / 352.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.1312, allocations: 4 kB / 352.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.1312, allocations: 7.984 kB / 352.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1314, allocations: 111.8 kB / 352.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1314, allocations: 0 / 352.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.1318, allocations: 47.84 kB / 352.3 MB, free: 1.281 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/0.1319, allocations: 107.2 kB / 352.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.1325, allocations: 139.8 kB / 352.5 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.1325, allocations: 0 / 352.5 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.1328, allocations: 63.91 kB / 352.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1332, allocations: 24.05 kB / 352.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.1348, allocations: 0.6439 MB / 353.3 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1352, allocations: 0.7321 MB / 354 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/0.1353, allocations: 15.44 kB / 354 MB, free: 15.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1353, allocations: 0 / 354 MB, free: 15.49 MB / 298.7 MB Notification: Performance of Templates: time 0.005376/0.1407, allocations: 1.955 MB / 356 MB, free: 13.54 MB / 298.7 MB