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.762/1.762, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.533e-05, allocations: 4 kB / 255.4 MB, free: 3.16 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07597/0.07602, allocations: 44.49 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4014, allocations: 74.45 MB / 374.3 MB, free: 22.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4016, allocations: 77.97 kB / 374.4 MB, free: 22.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01908/0.4207, allocations: 4.901 MB / 379.3 MB, free: 21.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.139e-06/0.4208, allocations: 0 / 379.3 MB, free: 21.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.4208, allocations: 4.125 kB / 379.3 MB, free: 21.95 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.0008206/0.4216, allocations: 0.52 MB / 379.8 MB, free: 21.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4217, allocations: 10.95 kB / 379.8 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.4218, allocations: 28.94 kB / 379.9 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.4221, allocations: 250.8 kB / 380.1 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.4222, allocations: 20 kB / 380.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.4222, allocations: 19.31 kB / 380.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.4226, allocations: 173.4 kB / 380.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4227, allocations: 0 / 380.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.4227, allocations: 10.83 kB / 380.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4227, allocations: 8.969 kB / 380.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.4231, allocations: 131.7 kB / 380.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.4247, allocations: 0.8503 MB / 381.3 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.4251, allocations: 128.5 kB / 381.4 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.4253, allocations: 54.62 kB / 381.5 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.4253, allocations: 5.391 kB / 381.5 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.4256, allocations: 122.6 kB / 381.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.551e-06/0.4256, allocations: 0 / 381.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003552/0.426, allocations: 132.5 kB / 381.7 MB, free: 20.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.426, allocations: 80.58 kB / 381.8 MB, free: 20.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.4263, allocations: 207.9 kB / 382 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.4263, allocations: 30.89 kB / 382.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.4264, allocations: 221.8 kB / 382.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.4265, allocations: 39 kB / 382.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.4265, allocations: 1.062 kB / 382.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.4266, allocations: 322.1 kB / 382.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4267, allocations: 50.92 kB / 382.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.4269, allocations: 103.9 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.4271, allocations: 80.58 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.049e-06/0.4271, allocations: 1.375 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004295/0.4275, allocations: 206.7 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.4276, allocations: 35.75 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.04e-06/0.4276, allocations: 3.516 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4276, allocations: 6.938 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.4279, allocations: 57.58 kB / 383.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.897e-06/0.428, allocations: 3.5 kB / 383.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.4283, allocations: 40.88 kB / 383.2 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.4283, allocations: 10.06 kB / 383.2 MB, free: 19.63 MB / 314.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 8.227e-05/0.4284, allocations: 120.6 kB / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.4285, allocations: 16.97 kB / 383.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.4286, allocations: 27.25 kB / 383.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-06/0.4286, allocations: 1.469 kB / 383.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.891e-06/0.4286, allocations: 0 / 383.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.839e-06/0.4286, allocations: 0.9375 kB / 383.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.4289, allocations: 282.1 kB / 383.6 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-06/0.4289, allocations: 0 / 383.6 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.4292, allocations: 48.83 kB / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.283e-06/0.4292, allocations: 0 / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.4292, allocations: 1.656 kB / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4293, allocations: 5.703 kB / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4293, allocations: 0 / 383.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.4297, allocations: 218.2 kB / 383.9 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.4298, allocations: 96.05 kB / 384 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.4299, allocations: 8.938 kB / 384 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.4301, allocations: 29.62 kB / 384 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.4302, allocations: 21.39 kB / 384.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.4303, allocations: 2.969 kB / 384.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.4305, allocations: 174.2 kB / 384.2 MB, free: 19.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.4305, allocations: 0 / 384.2 MB, free: 19.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.4309, allocations: 55.75 kB / 384.3 MB, free: 19.02 MB / 314.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.0001363/0.431, allocations: 108.7 kB / 384.4 MB, free: 18.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.4314, allocations: 170.6 kB / 384.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.894e-06/0.4314, allocations: 0 / 384.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.4315, allocations: 54.84 kB / 384.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.4318, allocations: 31.08 kB / 384.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.4326, allocations: 330 kB / 385 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.4328, allocations: 0.7427 MB / 385.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.4329, allocations: 21.27 kB / 385.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.369e-06/0.4329, allocations: 0 / 385.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of Templates: time 0.005262/0.4382, allocations: 2.695 MB / 388.4 MB, free: 17.75 MB / 314.7 MB