Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,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.NonInvertingAmp") Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 194.9 MB / 211.2 MB, free: 8.336 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.936e-05, allocations: 11.89 kB / 258.8 MB, free: 8.68 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.303, allocations: 44.49 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003615/0.3067, allocations: 2.157 MB / 305.5 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3082, allocations: 0.5637 MB / 306 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.3084, allocations: 9.906 kB / 306 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.137e-05/0.3085, allocations: 22.89 kB / 306.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.3089, allocations: 98.7 kB / 306.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.3091, allocations: 57.81 kB / 306.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.3095, allocations: 165.1 kB / 306.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.3097, allocations: 37.84 kB / 306.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.3099, allocations: 101.3 kB / 306.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.3102, allocations: 110.3 kB / 306.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.425e-05/0.3103, allocations: 11.59 kB / 306.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.3103, allocations: 17.12 kB / 306.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.3104, allocations: 45.94 kB / 306.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.3105, allocations: 23.12 kB / 306.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3109, allocations: 231.1 kB / 306.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3109, allocations: 0 / 306.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3109, allocations: 0 / 306.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3109, allocations: 0 / 306.9 MB, free: 9.883 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.001332/0.3123, allocations: 0.5337 MB / 307.5 MB, free: 9.391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3123, allocations: 9.312 kB / 307.5 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3124, allocations: 33.5 kB / 307.5 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.3129, allocations: 265.8 kB / 307.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.313, allocations: 17.62 kB / 307.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.313, allocations: 20.66 kB / 307.8 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009174/0.314, allocations: 243.2 kB / 308 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.314, allocations: 0 / 308 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.3141, allocations: 8 kB / 308.1 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3141, allocations: 8 kB / 308.1 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.3151, allocations: 225.6 kB / 308.3 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.3175, allocations: 0.8426 MB / 309.1 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3186, allocations: 226.5 kB / 309.3 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.3186, allocations: 3.984 kB / 309.3 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006423/0.3193, allocations: 173.9 kB / 309.5 MB, free: 7.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.3193, allocations: 0 / 309.5 MB, free: 7.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.003298/0.3226, allocations: 0.5654 MB / 310.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.3227, allocations: 102.8 kB / 310.2 MB, free: 6.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.3231, allocations: 240 kB / 310.4 MB, free: 6.297 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.3232, allocations: 29.7 kB / 310.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.3234, allocations: 226.3 kB / 310.7 MB, free: 6.039 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/0.3234, allocations: 43.39 kB / 310.7 MB, free: 5.996 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.3235, allocations: 4 kB / 310.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3236, allocations: 326.8 kB / 311 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/0.3241, allocations: 87.94 kB / 311.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.3247, allocations: 165.4 kB / 311.3 MB, free: 5.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.3252, allocations: 138.5 kB / 311.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3252, allocations: 224 / 311.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001847/0.3271, allocations: 397.3 kB / 311.8 MB, free: 4.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.3272, allocations: 41.53 kB / 311.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3272, allocations: 4 kB / 311.8 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007833/0.328, allocations: 96.81 kB / 311.9 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.3284, allocations: 47.91 kB / 312 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.3322, allocations: 1.773 MB / 313.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.3328, allocations: 47.75 kB / 313.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.3329, allocations: 8 kB / 313.8 MB, free: 2.672 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0002192/0.3331, allocations: 145.7 kB / 314 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.3332, allocations: 27.78 kB / 314 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.3332, allocations: 21.83 kB / 314 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3332, allocations: 4 kB / 314 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3332, allocations: 0 / 314 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3333, allocations: 0 / 314 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.3337, allocations: 289.4 kB / 314.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3337, allocations: 3.984 kB / 314.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.334, allocations: 23.98 kB / 314.3 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007158/0.3347, allocations: 92.78 kB / 314.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3348, allocations: 15.98 kB / 314.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/0.3384, allocations: 1.758 MB / 316.2 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3385, allocations: 0 / 316.2 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.3401, allocations: 329.7 kB / 316.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.3403, allocations: 104.8 kB / 316.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/0.3404, allocations: 7.953 kB / 316.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.3408, allocations: 35.97 kB / 316.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.3409, allocations: 19.97 kB / 316.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.3409, allocations: 4 kB / 316.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002829/0.3412, allocations: 188.5 kB / 316.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3412, allocations: 0 / 316.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005674/0.3418, allocations: 63.91 kB / 316.9 MB, free: 15.32 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.0001836/0.342, allocations: 103.2 kB / 317 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3434, allocations: 401.8 kB / 317.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3435, allocations: 0 / 317.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.3442, allocations: 231 kB / 317.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3446, allocations: 39.41 kB / 317.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.348, allocations: 0.6998 MB / 318.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.3484, allocations: 0.756 MB / 319.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3485, allocations: 19.44 kB / 319.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.3485, allocations: 0 / 319.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of Templates: time 0.00931/0.3579, allocations: 3.895 MB / 323 MB, free: 9.09 MB / 266.7 MB