Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,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.LowPass") Notification: Performance of loadModel(Modelica): time 2.178/2.178, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.978e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004159/0.1151, allocations: 2.458 MB / 347.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1169, allocations: 0.6549 MB / 348.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.1171, allocations: 8 kB / 348.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.564e-05/0.1172, allocations: 39.69 kB / 348.1 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.1176, allocations: 115.6 kB / 348.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1179, allocations: 79.84 kB / 348.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.1184, allocations: 219.5 kB / 348.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1186, allocations: 77.88 kB / 348.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.1189, allocations: 119.7 kB / 348.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.1192, allocations: 147.5 kB / 348.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.1193, allocations: 16 kB / 348.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.1194, allocations: 19.94 kB / 348.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.1195, allocations: 55.8 kB / 349 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.857e-05/0.1196, allocations: 28 kB / 349 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.1201, allocations: 387.1 kB / 349.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1201, allocations: 0 / 349.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1202, allocations: 0 / 349.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1202, allocations: 4 kB / 349.4 MB, free: 4.504 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001723/0.1219, allocations: 0.6332 MB / 350 MB, free: 3.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.122, allocations: 12.03 kB / 350 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.1221, allocations: 31.62 kB / 350.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.1227, allocations: 309.4 kB / 350.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.1227, allocations: 20.56 kB / 350.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/0.1228, allocations: 28 kB / 350.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.1241, allocations: 355.6 kB / 350.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1241, allocations: 0 / 350.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.1242, allocations: 19.89 kB / 350.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1242, allocations: 12 kB / 350.8 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.1257, allocations: 330 kB / 351.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.1293, allocations: 1.315 MB / 352.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.1308, allocations: 363.5 kB / 352.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.1309, allocations: 4 kB / 352.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008401/0.1317, allocations: 205.8 kB / 353 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 3.106e-06/0.1317, allocations: 0 / 353 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.003848/0.1356, allocations: 0.7089 MB / 353.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.1357, allocations: 110.8 kB / 353.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.1362, allocations: 266.3 kB / 354.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.1363, allocations: 29.7 kB / 354.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.1365, allocations: 266.3 kB / 354.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.1366, allocations: 63.12 kB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.1366, allocations: 4 kB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1368, allocations: 326.8 kB / 354.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.1374, allocations: 132.2 kB / 354.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.1382, allocations: 228.6 kB / 355.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.1389, allocations: 173.4 kB / 355.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.139, allocations: 4 kB / 355.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002237/0.1412, allocations: 0.4939 MB / 355.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.1413, allocations: 37.7 kB / 355.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1413, allocations: 4.094 kB / 355.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004816/0.1418, allocations: 76.81 kB / 355.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.1424, allocations: 71.89 kB / 355.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.1468, allocations: 1.775 MB / 357.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.1475, allocations: 71.64 kB / 357.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.1476, allocations: 16 kB / 357.8 MB, free: 11.57 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 (31): * Single equations (assignments): 29 * 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.0002694/0.1479, allocations: 149.8 kB / 358 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.148, allocations: 27.72 kB / 358 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-05/0.148, allocations: 26.2 kB / 358 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1481, allocations: 7.953 kB / 358 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1481, allocations: 0 / 358 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1481, allocations: 0 / 358 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.1508, allocations: 0.8432 MB / 358.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.1508, allocations: 0 / 358.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.1513, allocations: 59.98 kB / 358.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.1517, allocations: 60.83 kB / 359 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.1517, allocations: 3.984 kB / 359 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/0.1549, allocations: 1.565 MB / 360.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.155, allocations: 0 / 360.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.1577, allocations: 0.6274 MB / 361.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1579, allocations: 108.8 kB / 361.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.158, allocations: 8 kB / 361.3 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.1586, allocations: 48.02 kB / 361.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.1587, allocations: 19.97 kB / 361.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1587, allocations: 4 kB / 361.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003279/0.1591, allocations: 206 kB / 361.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1591, allocations: 0 / 361.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006106/0.1597, allocations: 87.7 kB / 361.6 MB, free: 7.488 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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.0002252/0.1599, allocations: 123.2 kB / 361.8 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.1624, allocations: 0.5332 MB / 362.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1624, allocations: 0 / 362.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008467/0.1633, allocations: 247.1 kB / 362.5 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.1639, allocations: 48.8 kB / 362.6 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.1709, allocations: 1.167 MB / 363.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.1714, allocations: 0.7758 MB / 364.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.1715, allocations: 23.44 kB / 364.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1716, allocations: 0 / 364.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of Templates: time 0.01145/0.183, allocations: 5.08 MB / 369.6 MB, free: 15.39 MB / 314.7 MB