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.2_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.955e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2924, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4061, allocations: 71.46 MB / 365.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4063, allocations: 71.91 kB / 365.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.4182, allocations: 3.008 MB / 368.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.212e-06/0.4183, allocations: 3.938 kB / 368.7 MB, free: 7.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.4183, allocations: 4 kB / 368.7 MB, free: 7.445 MB / 314.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.000741/0.4191, allocations: 454.8 kB / 369.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4191, allocations: 8.031 kB / 369.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.4192, allocations: 27.72 kB / 369.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.4195, allocations: 211.3 kB / 369.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.4196, allocations: 8 kB / 369.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.4196, allocations: 12 kB / 369.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003098/0.4199, allocations: 119.9 kB / 369.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.4203, allocations: 133.7 kB / 369.6 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4203, allocations: 0 / 369.6 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.4204, allocations: 0 / 369.6 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.4204, allocations: 7.984 kB / 369.6 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.422, allocations: 0.7138 MB / 370.3 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.4223, allocations: 134.5 kB / 370.5 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.4225, allocations: 76.86 kB / 370.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.4225, allocations: 3.938 kB / 370.5 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.4226, allocations: 34.56 kB / 370.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.052e-06/0.4226, allocations: 0 / 370.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003427/0.423, allocations: 117.7 kB / 370.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.423, allocations: 55.41 kB / 370.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4232, allocations: 129.3 kB / 370.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.4232, allocations: 25.7 kB / 370.9 MB, free: 5.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4234, allocations: 206.5 kB / 371.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.4234, allocations: 47.27 kB / 371.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-06/0.4235, allocations: 0 / 371.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4237, allocations: 314.8 kB / 371.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.4238, allocations: 36 kB / 371.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.4239, allocations: 61.7 kB / 371.5 MB, free: 4.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.424, allocations: 49.95 kB / 371.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.102e-06/0.4241, allocations: 0 / 371.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003206/0.4244, allocations: 137.5 kB / 371.7 MB, free: 4.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4244, allocations: 4 kB / 371.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.458e-06/0.4244, allocations: 0 / 371.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4245, allocations: 0 / 371.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.4248, allocations: 43.92 kB / 371.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.857e-06/0.4248, allocations: 0 / 371.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.425, allocations: 23.86 kB / 371.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.425, allocations: 8 kB / 371.8 MB, free: 4.07 MB / 314.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.0001102/0.4251, allocations: 107.7 kB / 371.9 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.4252, allocations: 19.8 kB / 371.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.4252, allocations: 16.73 kB / 371.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.565e-06/0.4253, allocations: 4 kB / 372 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4253, allocations: 0 / 372 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4253, allocations: 0 / 372 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.4257, allocations: 233.9 kB / 372.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.461e-06/0.4257, allocations: 0 / 372.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.426, allocations: 43.92 kB / 372.2 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.97e-06/0.426, allocations: 0 / 372.2 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.426, allocations: 0 / 372.2 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.2e-06/0.426, allocations: 3.953 kB / 372.2 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.428e-06/0.4261, allocations: 3.984 kB / 372.2 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.4265, allocations: 255.4 kB / 372.5 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.4266, allocations: 88.92 kB / 372.6 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.4267, allocations: 0 / 372.6 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.4269, allocations: 12.03 kB / 372.6 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.4269, allocations: 23.88 kB / 372.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.427, allocations: 4 kB / 372.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.986e-05/0.4271, allocations: 99.28 kB / 372.7 MB, free: 3.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.4271, allocations: 0 / 372.7 MB, free: 3.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004394/0.4275, allocations: 47.84 kB / 372.7 MB, free: 3.047 MB / 314.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.0001787/0.4277, allocations: 111.9 kB / 372.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.428, allocations: 92.56 kB / 372.9 MB, free: 2.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.974e-06/0.428, allocations: 0 / 372.9 MB, free: 2.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4281, allocations: 51.19 kB / 373 MB, free: 2.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.4285, allocations: 24.05 kB / 373 MB, free: 2.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.4296, allocations: 415.2 kB / 373.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.4302, allocations: 0.7279 MB / 374.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4304, allocations: 23.38 kB / 374.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of SimCode: time 2.525e-06/0.4304, allocations: 0 / 374.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of Templates: time 0.007211/0.4376, allocations: 1.894 MB / 376.1 MB, free: 15.66 MB / 330.7 MB "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,der(C1.v),C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,der(C2.v),C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,G.G,G.G_actual,G.LossPower,G.T,G.T_heatPort,G.T_ref,G.alpha,G.i,G.n.i,G.n.v,G.p.i,G.p.v,G.useHeatPort,G.v,Gnd.p.i,Gnd.p.v,L.L,der(L.i),L.i,L.n.i,L.n.v,L.p.i,L.p.v,L.v,Nr.Ga,Nr.Gb,Nr.Ve,Nr.i,Nr.n.i,Nr.n.v,Nr.p.i,Nr.p.v,Nr.v,Ro.LossPower,Ro.R,Ro.R_actual,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,Ro.i,Ro.n.i,Ro.n.v,Ro.p.i,Ro.p.v,Ro.useHeatPort,Ro.v,time