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.597/1.597, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/3.004e-05, allocations: 0 / 225 MB, free: 2.789 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.3834, allocations: 66.99 MB / 330.7 MB, free: 6.789 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.3837, allocations: 63.97 kB / 330.8 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.3962, allocations: 3.106 MB / 333.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.039e-06/0.3963, allocations: 0 / 333.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.3963, allocations: 4 kB / 333.9 MB, free: 3.602 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.0007341/0.397, allocations: 461.9 kB / 334.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3971, allocations: 12.03 kB / 334.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.3972, allocations: 15.81 kB / 334.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.3975, allocations: 221.3 kB / 334.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3975, allocations: 16 kB / 334.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3976, allocations: 23.95 kB / 334.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.398, allocations: 161.6 kB / 334.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.398, allocations: 4 kB / 334.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.3981, allocations: 4 kB / 334.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.92e-06/0.3981, allocations: 4 kB / 334.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.3984, allocations: 116 kB / 334.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.4, allocations: 0.7624 MB / 335.7 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.4004, allocations: 138.5 kB / 335.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.4006, allocations: 80.86 kB / 335.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.4006, allocations: 0 / 335.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.4007, allocations: 34.56 kB / 335.9 MB, free: 1.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.202e-06/0.4007, allocations: 3.938 kB / 335.9 MB, free: 1.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003586/0.4011, allocations: 125.8 kB / 336.1 MB, free: 1.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4011, allocations: 55.41 kB / 336.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.4013, allocations: 136.7 kB / 336.3 MB, free: 1.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.4013, allocations: 29.7 kB / 336.3 MB, free: 1.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4015, allocations: 206.4 kB / 336.5 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.4016, allocations: 47.34 kB / 336.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-06/0.4016, allocations: 0 / 336.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4018, allocations: 322.8 kB / 336.8 MB, free: 456 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.4019, allocations: 43.94 kB / 336.9 MB, free: 412 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.402, allocations: 63.25 kB / 337 MB, free: 344 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.4022, allocations: 47.98 kB / 337 MB, free: 296 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.703e-06/0.4022, allocations: 0 / 337 MB, free: 296 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003428/0.4025, allocations: 148.3 kB / 337.1 MB, free: 144 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4026, allocations: 8 kB / 337.2 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-06/0.4026, allocations: 0 / 337.2 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4026, allocations: 0 / 337.2 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.4029, allocations: 51.91 kB / 337.2 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.403, allocations: 3.953 kB / 337.2 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.4031, allocations: 19.88 kB / 337.2 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4031, allocations: 4 kB / 337.2 MB, free: 56 kB / 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.0001273/0.4033, allocations: 112.9 kB / 337.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.4033, allocations: 11.91 kB / 337.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.4034, allocations: 20.73 kB / 337.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.233e-06/0.4034, allocations: 0 / 337.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4034, allocations: 0 / 337.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.201e-06/0.4035, allocations: 7.953 kB / 337.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.4039, allocations: 269.4 kB / 337.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-06/0.4039, allocations: 0 / 337.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.4042, allocations: 43.97 kB / 337.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.821e-06/0.4042, allocations: 0 / 337.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4043, allocations: 4 kB / 337.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.287e-06/0.4043, allocations: 0 / 337.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.989e-06/0.4043, allocations: 3.938 kB / 337.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.4048, allocations: 271.3 kB / 338 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.4049, allocations: 96.86 kB / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.4049, allocations: 0 / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.4051, allocations: 16.03 kB / 338.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.4052, allocations: 11.98 kB / 338.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4052, allocations: 4 kB / 338.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.4053, allocations: 111.8 kB / 338.2 MB, free: 15 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4054, allocations: 4 kB / 338.2 MB, free: 15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003916/0.4058, allocations: 51.84 kB / 338.2 MB, free: 14.95 MB / 298.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.0001578/0.4059, allocations: 99.25 kB / 338.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.4062, allocations: 103.9 kB / 338.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.331e-06/0.4062, allocations: 0 / 338.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4064, allocations: 55.92 kB / 338.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.4067, allocations: 28 kB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4078, allocations: 423.9 kB / 338.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.4082, allocations: 0.7282 MB / 339.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.4083, allocations: 19.44 kB / 339.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of SimCode: time 1.581e-06/0.4083, allocations: 0 / 339.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of Templates: time 0.004611/0.4129, allocations: 1.945 MB / 341.6 MB, free: 11.5 MB / 298.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