Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="C1.v|C2.v|L.i|Time",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 0.9641/0.9641, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.789e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 25.15 MB / 176.5 MB, free: 20 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05204/0.1941, allocations: 34.54 MB / 211.1 MB, free: 14.95 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.1944, allocations: 67.89 kB / 211.1 MB, free: 14.88 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.2058, allocations: 2.998 MB / 214.1 MB, free: 11.88 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2059, allocations: 0 / 214.1 MB, free: 11.88 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.2059, allocations: 4 kB / 214.2 MB, free: 11.87 MB / 186.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.0007017/0.2066, allocations: 446.4 kB / 214.6 MB, free: 11.39 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2067, allocations: 8.031 kB / 214.6 MB, free: 11.38 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.2067, allocations: 19.81 kB / 214.6 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.2071, allocations: 214.8 kB / 214.8 MB, free: 11.11 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.2071, allocations: 16.36 kB / 214.8 MB, free: 11.1 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.2072, allocations: 19.94 kB / 214.9 MB, free: 11.08 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.2076, allocations: 162.7 kB / 215 MB, free: 10.91 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2076, allocations: 0 / 215 MB, free: 10.91 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.2076, allocations: 15.95 kB / 215 MB, free: 10.9 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-06/0.2077, allocations: 4 kB / 215 MB, free: 10.89 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.208, allocations: 112 kB / 215.1 MB, free: 10.79 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.2096, allocations: 0.7625 MB / 215.9 MB, free: 9.953 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.2099, allocations: 130.6 kB / 216 MB, free: 9.816 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2102, allocations: 88.83 kB / 216.1 MB, free: 9.727 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.2102, allocations: 0 / 216.1 MB, free: 9.727 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.2102, allocations: 34.56 kB / 216.2 MB, free: 9.684 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 2.143e-06/0.2103, allocations: 7.938 kB / 216.2 MB, free: 9.676 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003244/0.2106, allocations: 109.6 kB / 216.3 MB, free: 9.562 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2106, allocations: 55.41 kB / 216.3 MB, free: 9.496 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2108, allocations: 148.2 kB / 216.5 MB, free: 9.344 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.2109, allocations: 29.7 kB / 216.5 MB, free: 9.309 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.211, allocations: 194.6 kB / 216.7 MB, free: 9.117 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.2111, allocations: 47.3 kB / 216.7 MB, free: 9.07 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-06/0.2111, allocations: 0 / 216.7 MB, free: 9.07 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2113, allocations: 322.8 kB / 217.1 MB, free: 8.746 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2114, allocations: 32 kB / 217.1 MB, free: 8.715 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2115, allocations: 65.61 kB / 217.1 MB, free: 8.645 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.2117, allocations: 44.77 kB / 217.2 MB, free: 8.602 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-06/0.2117, allocations: 0 / 217.2 MB, free: 8.602 MB / 186.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003399/0.212, allocations: 146.3 kB / 217.3 MB, free: 8.453 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2121, allocations: 9.875 kB / 217.3 MB, free: 8.445 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.094e-06/0.2121, allocations: 0 / 217.3 MB, free: 8.445 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2121, allocations: 0 / 217.3 MB, free: 8.445 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.2124, allocations: 51.84 kB / 217.4 MB, free: 8.395 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.689e-06/0.2124, allocations: 4.031 kB / 217.4 MB, free: 8.391 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.2126, allocations: 23.83 kB / 217.4 MB, free: 8.367 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.2126, allocations: 4 kB / 217.4 MB, free: 8.363 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(start = 4.0 unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real 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.0001741/0.2128, allocations: 124.9 kB / 217.5 MB, free: 8.234 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.2129, allocations: 11.91 kB / 217.6 MB, free: 8.223 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.2129, allocations: 16.75 kB / 217.6 MB, free: 8.203 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.854e-06/0.2129, allocations: 4 kB / 217.6 MB, free: 8.199 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.963e-06/0.2129, allocations: 0 / 217.6 MB, free: 8.199 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.09e-06/0.213, allocations: 3.984 kB / 217.6 MB, free: 8.195 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.2134, allocations: 269.4 kB / 217.8 MB, free: 7.883 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-06/0.2134, allocations: 0 / 217.8 MB, free: 7.883 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.2137, allocations: 35.98 kB / 217.9 MB, free: 7.848 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.824e-06/0.2137, allocations: 0 / 217.9 MB, free: 7.848 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2137, allocations: 4 kB / 217.9 MB, free: 7.844 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.892e-06/0.2138, allocations: 0 / 217.9 MB, free: 7.844 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.381e-06/0.2138, allocations: 11.94 kB / 217.9 MB, free: 7.832 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.2142, allocations: 275.8 kB / 218.2 MB, free: 7.547 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.2143, allocations: 92.81 kB / 218.3 MB, free: 7.438 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.2144, allocations: 8 kB / 218.3 MB, free: 7.43 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.2146, allocations: 11.98 kB / 218.3 MB, free: 7.418 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.2147, allocations: 11.98 kB / 218.3 MB, free: 7.406 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.2147, allocations: 8 kB / 218.3 MB, free: 7.398 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.2148, allocations: 115.2 kB / 218.4 MB, free: 7.289 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.2148, allocations: 0 / 218.4 MB, free: 7.289 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000374/0.2152, allocations: 51.83 kB / 218.5 MB, free: 7.238 MB / 186.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.0001559/0.2154, allocations: 99.25 kB / 218.6 MB, free: 7.133 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.2157, allocations: 103.9 kB / 218.7 MB, free: 7.031 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.064e-06/0.2157, allocations: 64 / 218.7 MB, free: 7.031 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.2158, allocations: 55.94 kB / 218.7 MB, free: 6.977 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2162, allocations: 27.97 kB / 218.7 MB, free: 6.949 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/0.2172, allocations: 419.9 kB / 219.1 MB, free: 6.512 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.2176, allocations: 0.732 MB / 219.9 MB, free: 5.754 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.2177, allocations: 19.44 kB / 219.9 MB, free: 5.734 MB / 186.7 MB Notification: Performance of SimCode: time 1.325e-06/0.2177, allocations: 0 / 219.9 MB, free: 5.734 MB / 186.7 MB Notification: Performance of Templates: time 0.004438/0.2221, allocations: 1.965 MB / 221.9 MB, free: 3.773 MB / 186.7 MB