Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,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.Integrator") Notification: Performance of loadModel(Modelica): time 2.091/2.091, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.802e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 50.41 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003959/0.1197, allocations: 2.306 MB / 347.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1213, allocations: 0.6041 MB / 347.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.1216, allocations: 4 kB / 347.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.1218, allocations: 31.75 kB / 347.9 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.1223, allocations: 99.7 kB / 348 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.1228, allocations: 63.86 kB / 348.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.1232, allocations: 195.5 kB / 348.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.1234, allocations: 65.05 kB / 348.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1237, allocations: 111.7 kB / 348.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.124, allocations: 127.5 kB / 348.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.124, allocations: 12 kB / 348.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.1241, allocations: 12 kB / 348.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.1242, allocations: 43.83 kB / 348.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.1243, allocations: 24 kB / 348.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.1247, allocations: 335.2 kB / 349 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1248, allocations: 4 kB / 349 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1248, allocations: 0 / 349 MB, free: 4.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1248, allocations: 0 / 349 MB, free: 4.914 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.00164/0.1264, allocations: 0.6021 MB / 349.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1265, allocations: 11.97 kB / 349.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.1266, allocations: 31.62 kB / 349.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.1272, allocations: 279.5 kB / 349.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.1272, allocations: 16.56 kB / 349.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.1273, allocations: 24 kB / 350 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.1285, allocations: 331.5 kB / 350.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.1286, allocations: 3.984 kB / 350.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.1286, allocations: 12 kB / 350.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1287, allocations: 8 kB / 350.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.1301, allocations: 298.1 kB / 350.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.1335, allocations: 1.212 MB / 351.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.1351, allocations: 274.5 kB / 352.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1352, allocations: 0 / 352.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/0.136, allocations: 188.9 kB / 352.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.923e-06/0.136, allocations: 0 / 352.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.005094/0.1411, allocations: 0.6635 MB / 352.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.1413, allocations: 81.11 kB / 353 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.142, allocations: 241.6 kB / 353.2 MB, free: 416 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.1421, allocations: 29.7 kB / 353.3 MB, free: 380 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.1423, allocations: 250 kB / 353.5 MB, free: 128 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.1424, allocations: 47.39 kB / 353.6 MB, free: 80 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.1425, allocations: 4 kB / 353.6 MB, free: 76 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.1427, allocations: 322.8 kB / 353.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/0.1436, allocations: 116.1 kB / 354 MB, free: 15.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009777/0.1446, allocations: 207.5 kB / 354.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.1456, allocations: 149.7 kB / 354.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.1456, allocations: 0 / 354.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.003103/0.1488, allocations: 467.9 kB / 354.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/0.1489, allocations: 29.7 kB / 354.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.1489, allocations: 7.984 kB / 354.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/0.1497, allocations: 80.81 kB / 354.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.1503, allocations: 55.95 kB / 355 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/0.1564, allocations: 1.779 MB / 356.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/0.1573, allocations: 51.81 kB / 356.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.1574, allocations: 8 kB / 356.8 MB, free: 12.61 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 (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003547/0.1578, allocations: 158.5 kB / 357 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.1579, allocations: 27.66 kB / 357 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/0.158, allocations: 17.72 kB / 357 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.158, allocations: 3.984 kB / 357 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1581, allocations: 7.953 kB / 357 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1581, allocations: 0 / 357 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.1587, allocations: 309.5 kB / 357.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1587, allocations: 0 / 357.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.1593, allocations: 43.91 kB / 357.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/0.1598, allocations: 68.8 kB / 357.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.1599, allocations: 8 kB / 357.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005247/0.1652, allocations: 1.565 MB / 359 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.1652, allocations: 7.938 kB / 359 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/0.1698, allocations: 497.5 kB / 359.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.17, allocations: 100.8 kB / 359.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1702, allocations: 8 kB / 359.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.1708, allocations: 39.98 kB / 359.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.171, allocations: 19.97 kB / 359.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.1711, allocations: 4 kB / 359.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004501/0.1715, allocations: 190 kB / 359.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1716, allocations: 3.938 kB / 359.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007546/0.1723, allocations: 71.78 kB / 359.9 MB, free: 9.258 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002455/0.1726, allocations: 111.2 kB / 360 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003508/0.1761, allocations: 0.5023 MB / 360.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.1762, allocations: 0 / 360.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.1774, allocations: 226.8 kB / 360.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006498/0.1781, allocations: 40.47 kB / 360.8 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008103/0.1862, allocations: 1.136 MB / 361.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1867, allocations: 0.7599 MB / 362.7 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.1869, allocations: 19.44 kB / 362.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1869, allocations: 0 / 362.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of Templates: time 0.01164/0.1985, allocations: 4.385 MB / 367.1 MB, free: 1.992 MB / 298.7 MB