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 2.175/2.175, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.676e-05, allocations: 7.938 kB / 258.8 MB, free: 8.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.317, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002824/0.3199, allocations: 1.676 MB / 305 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3212, allocations: 494.8 kB / 305.4 MB, free: 11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.3214, allocations: 9.781 kB / 305.5 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.092e-05/0.3215, allocations: 23.36 kB / 305.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.3217, allocations: 53.98 kB / 305.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.322, allocations: 36.8 kB / 305.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.3223, allocations: 130.7 kB / 305.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.3225, allocations: 54.27 kB / 305.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3226, allocations: 60.78 kB / 305.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3228, allocations: 67.78 kB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.897e-05/0.3228, allocations: 7.906 kB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.3229, allocations: 8.906 kB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.3229, allocations: 40.94 kB / 305.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.323, allocations: 22.69 kB / 306 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3233, allocations: 167.7 kB / 306.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3233, allocations: 0 / 306.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3233, allocations: 1 kB / 306.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.3233, allocations: 0 / 306.1 MB, free: 10.54 MB / 250.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.0009342/0.3243, allocations: 462.7 kB / 306.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3243, allocations: 8.719 kB / 306.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.3244, allocations: 22.94 kB / 306.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.3248, allocations: 208.5 kB / 306.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3248, allocations: 14.52 kB / 306.8 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.3249, allocations: 20.59 kB / 306.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.3255, allocations: 180 kB / 307 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3255, allocations: 0 / 307 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.3256, allocations: 10.38 kB / 307 MB, free: 9.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3256, allocations: 4.156 kB / 307 MB, free: 9.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.3262, allocations: 144.5 kB / 307.2 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.3281, allocations: 0.757 MB / 307.9 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.3288, allocations: 178.5 kB / 308.1 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3288, allocations: 4 kB / 308.1 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.3289, allocations: 38.55 kB / 308.1 MB, free: 8.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/0.3289, allocations: 3.938 kB / 308.1 MB, free: 8.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007853/0.3297, allocations: 193.8 kB / 308.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3298, allocations: 63.41 kB / 308.4 MB, free: 8.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.33, allocations: 132.7 kB / 308.5 MB, free: 8.254 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.33, allocations: 33.7 kB / 308.6 MB, free: 8.215 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3302, allocations: 194.6 kB / 308.7 MB, free: 8.023 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.3302, allocations: 55.28 kB / 308.8 MB, free: 7.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.3303, allocations: 0 / 308.8 MB, free: 7.969 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3304, allocations: 318.8 kB / 309.1 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.3306, allocations: 59.92 kB / 309.2 MB, free: 7.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3309, allocations: 81.58 kB / 309.3 MB, free: 7.504 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.3312, allocations: 57.39 kB / 309.3 MB, free: 7.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3312, allocations: 0 / 309.3 MB, free: 7.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005879/0.3318, allocations: 185.4 kB / 309.5 MB, free: 7.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3318, allocations: 6.188 kB / 309.5 MB, free: 7.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.3318, allocations: 4 kB / 309.5 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3319, allocations: 0 / 309.5 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.3323, allocations: 43.97 kB / 309.5 MB, free: 7.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3323, allocations: 4 kB / 309.5 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.3325, allocations: 23.92 kB / 309.6 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3325, allocations: 4 kB / 309.6 MB, free: 7.18 MB / 250.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.0001586/0.3327, allocations: 125.8 kB / 309.7 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.3328, allocations: 19.77 kB / 309.7 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.3328, allocations: 16.84 kB / 309.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3328, allocations: 0 / 309.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3329, allocations: 0 / 309.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3329, allocations: 3.984 kB / 309.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.3333, allocations: 261.5 kB / 310 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3333, allocations: 0 / 310 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.3337, allocations: 39.97 kB / 310 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3338, allocations: 0 / 310 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3338, allocations: 7.953 kB / 310 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.3338, allocations: 0 / 310 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3338, allocations: 3.938 kB / 310 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.3347, allocations: 323.5 kB / 310.4 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.3348, allocations: 89.09 kB / 310.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.3348, allocations: 4 kB / 310.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.3351, allocations: 23.98 kB / 310.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3351, allocations: 7.984 kB / 310.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3352, allocations: 4 kB / 310.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.3353, allocations: 118.6 kB / 310.6 MB, free: 6.059 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3353, allocations: 0 / 310.6 MB, free: 6.059 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.3357, allocations: 47.84 kB / 310.6 MB, free: 6.012 MB / 250.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.0001851/0.3359, allocations: 107.2 kB / 310.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.3364, allocations: 123.9 kB / 310.9 MB, free: 5.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3364, allocations: 4 kB / 310.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.3367, allocations: 67.91 kB / 310.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.337, allocations: 27.98 kB / 311 MB, free: 5.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3387, allocations: 0.6476 MB / 311.6 MB, free: 5 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3391, allocations: 0.7359 MB / 312.4 MB, free: 4.238 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3392, allocations: 15.44 kB / 312.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3392, allocations: 0 / 312.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of Templates: time 0.005571/0.3448, allocations: 1.96 MB / 314.3 MB, free: 2.262 MB / 250.7 MB