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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadModel(Modelica): time 2.512/2.512, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.638e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003989/0.1134, allocations: 2.306 MB / 347.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1151, allocations: 0.608 MB / 347.9 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.1154, allocations: 4 kB / 347.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1156, allocations: 35.75 kB / 347.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.116, allocations: 91.72 kB / 348 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1164, allocations: 71.78 kB / 348.1 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.1169, allocations: 183.6 kB / 348.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.1172, allocations: 69.06 kB / 348.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.1175, allocations: 107.7 kB / 348.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.1179, allocations: 123.5 kB / 348.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.118, allocations: 16 kB / 348.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.1181, allocations: 12 kB / 348.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.1182, allocations: 47.81 kB / 348.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1183, allocations: 24 kB / 348.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.1189, allocations: 331.3 kB / 349 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1189, allocations: 0 / 349 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.119, allocations: 0 / 349 MB, free: 4.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.119, allocations: 3.938 kB / 349 MB, free: 4.91 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.002006/0.121, allocations: 0.5915 MB / 349.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1211, allocations: 8.031 kB / 349.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1212, allocations: 35.62 kB / 349.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.1219, allocations: 287.4 kB / 349.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.122, allocations: 16.56 kB / 349.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.1221, allocations: 24 kB / 349.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.1236, allocations: 327.6 kB / 350.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1236, allocations: 11.94 kB / 350.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.1237, allocations: 11.98 kB / 350.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.1237, allocations: 11.94 kB / 350.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.1257, allocations: 298.1 kB / 350.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.1299, allocations: 1.146 MB / 351.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.1322, allocations: 278.5 kB / 352 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.1323, allocations: 4 kB / 352 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.1334, allocations: 185 kB / 352.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 3.697e-06/0.1334, allocations: 0 / 352.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.002552/0.136, allocations: 357.3 kB / 352.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.1361, allocations: 77.11 kB / 352.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.1367, allocations: 249.6 kB / 352.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.1368, allocations: 33.7 kB / 352.9 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.137, allocations: 242.1 kB / 353.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.1371, allocations: 43.38 kB / 353.2 MB, free: 484 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.1372, allocations: 8 kB / 353.2 MB, free: 476 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1373, allocations: 318.8 kB / 353.5 MB, free: 148 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/0.1382, allocations: 116.2 kB / 353.6 MB, free: 28 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/0.1392, allocations: 199.5 kB / 353.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.1401, allocations: 157.6 kB / 354 MB, free: 15.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1401, allocations: 4 kB / 354 MB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002124/0.1422, allocations: 383 kB / 354.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.1423, allocations: 33.7 kB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1424, allocations: 0 / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.1424, allocations: 4.062 kB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.1432, allocations: 79.88 kB / 354.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.1432, allocations: 4 kB / 354.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.144, allocations: 59.72 kB / 354.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.144, allocations: 12 kB / 354.5 MB, free: 15.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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.0002979/0.1444, allocations: 142.5 kB / 354.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.368e-05/0.1445, allocations: 23.77 kB / 354.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.1446, allocations: 25.7 kB / 354.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1446, allocations: 4 kB / 354.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.1446, allocations: 3.938 kB / 354.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1446, allocations: 0 / 354.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.1453, allocations: 317.3 kB / 355 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1453, allocations: 0 / 355 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.146, allocations: 59.89 kB / 355.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.146, allocations: 3.953 kB / 355.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.146, allocations: 0 / 355.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1461, allocations: 0 / 355.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1461, allocations: 4 kB / 355.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.1488, allocations: 400.7 kB / 355.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.149, allocations: 104.8 kB / 355.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.1491, allocations: 7.953 kB / 355.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.1497, allocations: 36.03 kB / 355.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1498, allocations: 19.97 kB / 355.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.1499, allocations: 7.938 kB / 355.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004022/0.1503, allocations: 190 kB / 355.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1503, allocations: 3.938 kB / 355.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006793/0.151, allocations: 63.84 kB / 355.9 MB, free: 13.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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.00022/0.1512, allocations: 107.2 kB / 356 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.1532, allocations: 331.7 kB / 356.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1533, allocations: 128 / 356.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008195/0.1541, allocations: 116.4 kB / 356.5 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.1547, allocations: 40.77 kB / 356.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.157, allocations: 0.6616 MB / 357.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.1576, allocations: 0.756 MB / 357.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.1578, allocations: 19.44 kB / 357.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1578, allocations: 7.938 kB / 357.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Templates: time 0.01133/0.1692, allocations: 3.228 MB / 361.2 MB, free: 8.242 MB / 298.7 MB