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.784/1.784, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.551e-05, allocations: 4 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07485/0.0749, allocations: 44.49 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3123/0.3873, allocations: 72.12 MB / 372 MB, free: 21.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.3875, allocations: 65.14 kB / 372 MB, free: 21.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.3992, allocations: 3.061 MB / 375.1 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.97e-06/0.3992, allocations: 0 / 375.1 MB, free: 21.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.3993, allocations: 3.812 kB / 375.1 MB, free: 21.11 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.0006059/0.3999, allocations: 455.5 kB / 375.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3999, allocations: 9.188 kB / 375.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.4, allocations: 25.47 kB / 375.6 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.4003, allocations: 213.8 kB / 375.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4003, allocations: 13.31 kB / 375.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.4004, allocations: 18.38 kB / 375.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.4007, allocations: 159.4 kB / 376 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4008, allocations: 3.984 kB / 376 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.4008, allocations: 12.97 kB / 376 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.935e-06/0.4008, allocations: 8.781 kB / 376 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.4011, allocations: 118.8 kB / 376.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.4025, allocations: 0.7631 MB / 376.9 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.4029, allocations: 127.6 kB / 377 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.403, allocations: 87.16 kB / 377.1 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.4031, allocations: 3.859 kB / 377.1 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.4031, allocations: 35.53 kB / 377.1 MB, free: 19.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.536e-06/0.4031, allocations: 0 / 377.1 MB, free: 19.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003088/0.4034, allocations: 131.3 kB / 377.3 MB, free: 19.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.4035, allocations: 53.95 kB / 377.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4036, allocations: 141.7 kB / 377.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4037, allocations: 26.7 kB / 377.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.12e-05/0.4037, allocations: 202.9 kB / 377.7 MB, free: 19.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.4038, allocations: 53.17 kB / 377.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.4038, allocations: 1.156 kB / 377.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.4039, allocations: 318.8 kB / 378 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.404, allocations: 42.16 kB / 378.1 MB, free: 19.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4041, allocations: 53.59 kB / 378.1 MB, free: 19.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4042, allocations: 49.73 kB / 378.2 MB, free: 19.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.4043, allocations: 1.031 kB / 378.2 MB, free: 19.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003062/0.4046, allocations: 155.9 kB / 378.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4046, allocations: 8.156 kB / 378.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-06/0.4046, allocations: 1.125 kB / 378.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4046, allocations: 1.031 kB / 378.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.405, allocations: 44.08 kB / 378.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.405, allocations: 5 kB / 378.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.4052, allocations: 17.14 kB / 378.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4052, allocations: 6.906 kB / 378.4 MB, free: 19.11 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 6.359e-05/0.4053, allocations: 110.5 kB / 378.5 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.4053, allocations: 18.73 kB / 378.5 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.4054, allocations: 19.84 kB / 378.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-06/0.4054, allocations: 1.562 kB / 378.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.807e-06/0.4054, allocations: 0 / 378.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-06/0.4054, allocations: 1.125 kB / 378.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.4058, allocations: 264.5 kB / 378.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4058, allocations: 0 / 378.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.4061, allocations: 44.14 kB / 378.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.264e-06/0.4061, allocations: 1.031 kB / 378.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.4061, allocations: 5.359 kB / 378.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.4061, allocations: 3.062 kB / 378.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.836e-06/0.4061, allocations: 0 / 378.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.4065, allocations: 264.9 kB / 379.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.4066, allocations: 87.98 kB / 379.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.4066, allocations: 3.109 kB / 379.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.4069, allocations: 23.25 kB / 379.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.526e-05/0.4069, allocations: 7.922 kB / 379.3 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4069, allocations: 7.375 kB / 379.3 MB, free: 18.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.998e-05/0.407, allocations: 120.7 kB / 379.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4071, allocations: 0 / 379.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.4075, allocations: 51.91 kB / 379.4 MB, free: 18.44 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.0001321/0.4076, allocations: 109.9 kB / 379.5 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.4079, allocations: 99.25 kB / 379.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.803e-06/0.4079, allocations: 8.25 kB / 379.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.408, allocations: 51.23 kB / 379.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.4083, allocations: 22.72 kB / 379.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.4093, allocations: 432.8 kB / 380.1 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.4095, allocations: 0.7262 MB / 380.9 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.4095, allocations: 15.88 kB / 380.9 MB, free: 17.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.314e-06/0.4096, allocations: 0 / 380.9 MB, free: 17.35 MB / 314.7 MB Notification: Performance of Templates: time 0.004268/0.4138, allocations: 1.957 MB / 382.8 MB, free: 17.22 MB / 314.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.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.v,time