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_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.948e-05, allocations: 4 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08144/0.08149, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002635/0.08417, allocations: 1.668 MB / 268.6 MB, free: 15.45 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.08523, allocations: 487.5 kB / 269 MB, free: 14.97 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.08536, allocations: 8 kB / 269 MB, free: 14.96 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.652e-05/0.08544, allocations: 23.83 kB / 269.1 MB, free: 14.94 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.08562, allocations: 55.8 kB / 269.1 MB, free: 14.89 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.08581, allocations: 43.78 kB / 269.2 MB, free: 14.85 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.08606, allocations: 119.6 kB / 269.3 MB, free: 14.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.08624, allocations: 52.39 kB / 269.3 MB, free: 14.68 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.08636, allocations: 59.84 kB / 269.4 MB, free: 14.62 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.08654, allocations: 75.75 kB / 269.5 MB, free: 14.54 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.08659, allocations: 8 kB / 269.5 MB, free: 14.54 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.08663, allocations: 8 kB / 269.5 MB, free: 14.53 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.08669, allocations: 31.89 kB / 269.5 MB, free: 14.5 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.08676, allocations: 23.94 kB / 269.5 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.08701, allocations: 171.8 kB / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.08703, allocations: 0 / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08704, allocations: 0 / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.08706, allocations: 0 / 269.7 MB, free: 14.3 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008937/0.08796, allocations: 466.8 kB / 270.2 MB, free: 13.8 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.08802, allocations: 8.031 kB / 270.2 MB, free: 13.79 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.08809, allocations: 19.81 kB / 270.2 MB, free: 13.77 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.08841, allocations: 210.8 kB / 270.4 MB, free: 13.53 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.08845, allocations: 19.95 kB / 270.4 MB, free: 13.51 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.08852, allocations: 16 kB / 270.4 MB, free: 13.49 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.08906, allocations: 181.5 kB / 270.6 MB, free: 13.31 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.08909, allocations: 0 / 270.6 MB, free: 13.31 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.08913, allocations: 8 kB / 270.6 MB, free: 13.3 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.08915, allocations: 8 kB / 270.6 MB, free: 13.29 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.08968, allocations: 147.8 kB / 270.8 MB, free: 13.15 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.0914, allocations: 0.7624 MB / 271.5 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.09208, allocations: 178.5 kB / 271.7 MB, free: 12.13 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.09212, allocations: 0 / 271.7 MB, free: 12.13 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.09216, allocations: 38.56 kB / 271.7 MB, free: 12.09 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.09217, allocations: 0 / 271.7 MB, free: 12.09 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.000719/0.0929, allocations: 197.7 kB / 271.9 MB, free: 11.89 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.09296, allocations: 59.41 kB / 272 MB, free: 11.82 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.09313, allocations: 132.5 kB / 272.1 MB, free: 11.68 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.09318, allocations: 33.7 kB / 272.1 MB, free: 11.64 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.0933, allocations: 198.5 kB / 272.3 MB, free: 11.45 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.09337, allocations: 51.3 kB / 272.4 MB, free: 11.39 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.09339, allocations: 0 / 272.4 MB, free: 11.39 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.09352, allocations: 318.8 kB / 272.7 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.09375, allocations: 59.97 kB / 272.8 MB, free: 11.02 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.094, allocations: 77.67 kB / 272.8 MB, free: 10.93 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.09424, allocations: 57.41 kB / 272.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.09426, allocations: 0 / 272.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005539/0.09483, allocations: 184.2 kB / 273.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.09486, allocations: 4 kB / 273.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.09488, allocations: 0 / 273.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.0949, allocations: 4 kB / 273.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.09529, allocations: 47.86 kB / 273.1 MB, free: 10.64 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.09532, allocations: 8.031 kB / 273.1 MB, free: 10.63 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.09551, allocations: 19.84 kB / 273.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.09554, allocations: 4 kB / 273.2 MB, free: 10.61 MB / 234.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.0001552/0.09571, allocations: 121.8 kB / 273.3 MB, free: 10.48 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.09578, allocations: 15.89 kB / 273.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.09583, allocations: 12.84 kB / 273.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.09585, allocations: 4 kB / 273.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.09586, allocations: 3.953 kB / 273.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.09588, allocations: 4 kB / 273.3 MB, free: 10.44 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.09628, allocations: 269.4 kB / 273.6 MB, free: 10.13 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.0963, allocations: 4 kB / 273.6 MB, free: 10.12 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.0967, allocations: 43.91 kB / 273.6 MB, free: 10.08 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.09672, allocations: 0 / 273.6 MB, free: 10.08 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.09675, allocations: 4 kB / 273.6 MB, free: 10.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.09676, allocations: 4 kB / 273.6 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.09677, allocations: 0 / 273.6 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/0.09753, allocations: 311.3 kB / 273.9 MB, free: 9.754 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.09762, allocations: 96.89 kB / 274 MB, free: 9.641 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.09768, allocations: 8 kB / 274 MB, free: 9.633 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.09793, allocations: 19.92 kB / 274.1 MB, free: 9.613 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.098, allocations: 11.92 kB / 274.1 MB, free: 9.602 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.09803, allocations: 8 kB / 274.1 MB, free: 9.594 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.09816, allocations: 111.8 kB / 274.2 MB, free: 9.484 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.09817, allocations: 0 / 274.2 MB, free: 9.484 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.09855, allocations: 51.8 kB / 274.2 MB, free: 9.434 MB / 234.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.0001409/0.09871, allocations: 103.2 kB / 274.3 MB, free: 9.324 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.0992, allocations: 127.9 kB / 274.5 MB, free: 9.199 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.09922, allocations: 0 / 274.5 MB, free: 9.199 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.09945, allocations: 71.97 kB / 274.5 MB, free: 9.129 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.09983, allocations: 19.98 kB / 274.6 MB, free: 9.109 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.1013, allocations: 0.644 MB / 275.2 MB, free: 8.43 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1016, allocations: 0.7359 MB / 275.9 MB, free: 7.668 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.1017, allocations: 15.44 kB / 276 MB, free: 7.656 MB / 234.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1018, allocations: 0 / 276 MB, free: 7.656 MB / 234.7 MB Notification: Performance of Templates: time 0.005091/0.1068, allocations: 1.956 MB / 277.9 MB, free: 5.699 MB / 234.7 MB