Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.497e-05, allocations: 8 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2498, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.3791, allocations: 73.79 MB / 367.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.3795, allocations: 79.95 kB / 368 MB, free: 8.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03128/0.4108, allocations: 4.838 MB / 372.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.519e-06/0.4109, allocations: 3.938 kB / 372.8 MB, free: 3.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.4109, allocations: 4 kB / 372.8 MB, free: 3.27 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00101/0.412, allocations: 0.5244 MB / 373.4 MB, free: 2.688 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.412, allocations: 8.031 kB / 373.4 MB, free: 2.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.4121, allocations: 23.72 kB / 373.4 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.4125, allocations: 254.5 kB / 373.6 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4125, allocations: 4 kB / 373.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.4126, allocations: 19.98 kB / 373.7 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003487/0.413, allocations: 116.8 kB / 373.8 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.4134, allocations: 156 kB / 373.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4134, allocations: 4 kB / 373.9 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.4134, allocations: 4 kB / 373.9 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.4135, allocations: 4 kB / 373.9 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.4152, allocations: 0.8062 MB / 374.7 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.4157, allocations: 122.7 kB / 374.9 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.4158, allocations: 56.86 kB / 374.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4159, allocations: 0 / 374.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.4162, allocations: 121.2 kB / 375 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.586e-06/0.4162, allocations: 0 / 375 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003583/0.4165, allocations: 121.4 kB / 375.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.4166, allocations: 81.11 kB / 375.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.4169, allocations: 198 kB / 375.4 MB, free: 460 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.4169, allocations: 29.7 kB / 375.5 MB, free: 424 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.4171, allocations: 222.3 kB / 375.7 MB, free: 200 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.4172, allocations: 35.45 kB / 375.7 MB, free: 164 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.4172, allocations: 0 / 375.7 MB, free: 164 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4174, allocations: 326.8 kB / 376 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.4175, allocations: 44.38 kB / 376.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.4177, allocations: 95.42 kB / 376.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.4179, allocations: 53.75 kB / 376.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4179, allocations: 0 / 376.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005494/0.4184, allocations: 165.5 kB / 376.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/0.4185, allocations: 39.72 kB / 376.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.4186, allocations: 0 / 376.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.4186, allocations: 7.953 kB / 376.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.4192, allocations: 51.91 kB / 376.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.4192, allocations: 8.172 kB / 376.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.4198, allocations: 43.77 kB / 376.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.4198, allocations: 8 kB / 376.5 MB, free: 15.29 MB / 330.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 (21): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.42, allocations: 122.1 kB / 376.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.4201, allocations: 15.81 kB / 376.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.713e-05/0.4202, allocations: 17.84 kB / 376.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.4203, allocations: 7.953 kB / 376.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4203, allocations: 0 / 376.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4203, allocations: 3.984 kB / 376.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.4208, allocations: 238.1 kB / 376.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.859e-06/0.4208, allocations: 0 / 376.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.4212, allocations: 47.89 kB / 377 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.387e-06/0.4212, allocations: 0 / 377 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.4213, allocations: 0 / 377 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.491e-06/0.4213, allocations: 4 kB / 377 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.138e-06/0.4213, allocations: 0 / 377 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.422, allocations: 212.7 kB / 377.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.4222, allocations: 96.88 kB / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.4223, allocations: 0 / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.4227, allocations: 32.03 kB / 377.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4228, allocations: 19.97 kB / 377.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.4229, allocations: 4 kB / 377.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000273/0.4232, allocations: 148.7 kB / 377.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.24e-07/0.4232, allocations: 0 / 377.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006652/0.4238, allocations: 51.8 kB / 377.5 MB, free: 14.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002357/0.4241, allocations: 111.2 kB / 377.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005393/0.4247, allocations: 179.3 kB / 377.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.69e-06/0.4247, allocations: 0 / 377.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.4249, allocations: 47.94 kB / 377.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.4253, allocations: 23.98 kB / 377.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.4265, allocations: 323.4 kB / 378.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.4271, allocations: 0.7438 MB / 378.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.4273, allocations: 23.44 kB / 379 MB, free: 12.7 MB / 330.7 MB Notification: Performance of SimCode: time 2.052e-06/0.4273, allocations: 0 / 379 MB, free: 12.7 MB / 330.7 MB Notification: Performance of Templates: time 0.008092/0.4354, allocations: 2.63 MB / 381.6 MB, free: 10.07 MB / 330.7 MB