Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 194.9 MB / 211.2 MB, free: 7.867 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.126e-05, allocations: 4 kB / 258.8 MB, free: 8.215 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2998, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003541/0.3034, allocations: 2.162 MB / 305.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.305, allocations: 0.5599 MB / 306 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.3052, allocations: 5.594 kB / 306 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.171e-05/0.3052, allocations: 30.16 kB / 306.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.3056, allocations: 95.09 kB / 306.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3058, allocations: 49.69 kB / 306.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.3062, allocations: 165.7 kB / 306.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3063, allocations: 53.98 kB / 306.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.3065, allocations: 88.41 kB / 306.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.3068, allocations: 118.4 kB / 306.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.3069, allocations: 12.69 kB / 306.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.3069, allocations: 12.22 kB / 306.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.307, allocations: 42.47 kB / 306.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.3071, allocations: 26.5 kB / 306.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.3075, allocations: 226.7 kB / 306.9 MB, free: 9.945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3075, allocations: 1.031 kB / 306.9 MB, free: 9.945 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3075, allocations: 0 / 306.9 MB, free: 9.945 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3075, allocations: 0 / 306.9 MB, free: 9.945 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00138/0.3089, allocations: 0.5399 MB / 307.5 MB, free: 9.395 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.309, allocations: 12.03 kB / 307.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3091, allocations: 31.61 kB / 307.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.3095, allocations: 271.4 kB / 307.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.3096, allocations: 12.44 kB / 307.8 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.3097, allocations: 20 kB / 307.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008524/0.3105, allocations: 239.2 kB / 308 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3105, allocations: 0 / 308 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.3106, allocations: 12 kB / 308.1 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.3106, allocations: 4 kB / 308.1 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.3117, allocations: 229.6 kB / 308.3 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.3139, allocations: 0.8504 MB / 309.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.315, allocations: 218.5 kB / 309.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.3151, allocations: 4 kB / 309.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006316/0.3157, allocations: 177.9 kB / 309.5 MB, free: 7.188 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.3158, allocations: 4 kB / 309.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.003102/0.3189, allocations: 0.5381 MB / 310.1 MB, free: 6.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.319, allocations: 106.8 kB / 310.2 MB, free: 6.488 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.3194, allocations: 224.2 kB / 310.4 MB, free: 6.258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.3194, allocations: 29.7 kB / 310.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3196, allocations: 234.2 kB / 310.6 MB, free: 5.992 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.3197, allocations: 43.44 kB / 310.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.3197, allocations: 0 / 310.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3198, allocations: 326.8 kB / 311 MB, free: 5.621 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.3203, allocations: 96.06 kB / 311.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.3209, allocations: 156 kB / 311.3 MB, free: 5.348 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.3214, allocations: 121.7 kB / 311.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3214, allocations: 0 / 311.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001712/0.3231, allocations: 383.9 kB / 311.7 MB, free: 4.832 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.3232, allocations: 35.22 kB / 311.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3232, allocations: 8.156 kB / 311.8 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.324, allocations: 96.75 kB / 311.9 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.3244, allocations: 47.91 kB / 311.9 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.3281, allocations: 1.77 MB / 313.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.3287, allocations: 51.84 kB / 313.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.3287, allocations: 7.984 kB / 313.8 MB, free: 2.668 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.3289, allocations: 153.8 kB / 313.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.329, allocations: 19.72 kB / 313.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.3291, allocations: 29.77 kB / 314 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3291, allocations: 0 / 314 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3291, allocations: 0 / 314 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3291, allocations: 0 / 314 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.3295, allocations: 285.5 kB / 314.2 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3295, allocations: 0 / 314.2 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.3298, allocations: 27.98 kB / 314.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000698/0.3305, allocations: 96.78 kB / 314.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.3305, allocations: 7.984 kB / 314.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.3338, allocations: 1.669 MB / 316 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3338, allocations: 3.984 kB / 316 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.3354, allocations: 329.6 kB / 316.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3356, allocations: 92.83 kB / 316.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.3357, allocations: 8 kB / 316.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.3361, allocations: 31.91 kB / 316.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3362, allocations: 31.91 kB / 316.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.3362, allocations: 8 kB / 316.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.3365, allocations: 176.5 kB / 316.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3365, allocations: 0 / 316.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005122/0.337, allocations: 71.84 kB / 316.8 MB, free: 15.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.3372, allocations: 99.25 kB / 316.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3386, allocations: 395.2 kB / 317.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3386, allocations: 0 / 317.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000647/0.3392, allocations: 234.7 kB / 317.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3396, allocations: 40.34 kB / 317.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3411, allocations: 0.5238 MB / 318 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.3415, allocations: 0.7521 MB / 318.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.3416, allocations: 19.44 kB / 318.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of SimCode: time 3.597e-06/0.3417, allocations: 0 / 318.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of Templates: time 0.008935/0.3506, allocations: 3.853 MB / 322.7 MB, free: 9.406 MB / 266.7 MB