Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 224.7 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.216e-05, allocations: 7.984 kB / 294.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 50.41 MB / 345 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003663/0.1246, allocations: 2.204 MB / 347.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1261, allocations: 0.5807 MB / 347.8 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1263, allocations: 4 kB / 347.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.245e-05/0.1264, allocations: 31.75 kB / 347.8 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.1267, allocations: 91.72 kB / 347.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.127, allocations: 67.84 kB / 348 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.1274, allocations: 171.6 kB / 348.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.1276, allocations: 44.27 kB / 348.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1277, allocations: 103.7 kB / 348.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.128, allocations: 115.6 kB / 348.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.1281, allocations: 12 kB / 348.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.1281, allocations: 16 kB / 348.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.1282, allocations: 51.8 kB / 348.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.214e-05/0.1283, allocations: 27.94 kB / 348.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.1287, allocations: 231.6 kB / 348.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1287, allocations: 0 / 348.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1287, allocations: 0 / 348.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1287, allocations: 3.938 kB / 348.7 MB, free: 5.152 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001597/0.1303, allocations: 0.5836 MB / 349.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1304, allocations: 12.03 kB / 349.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.1306, allocations: 35.61 kB / 349.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.1311, allocations: 262.5 kB / 349.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.1311, allocations: 16.44 kB / 349.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.1312, allocations: 20 kB / 349.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1322, allocations: 285.8 kB / 349.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1323, allocations: 0 / 349.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1323, allocations: 11.95 kB / 349.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1323, allocations: 4 kB / 349.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1337, allocations: 277.5 kB / 350.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.1363, allocations: 0.9755 MB / 351.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.1378, allocations: 274.5 kB / 351.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.1378, allocations: 0 / 351.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007956/0.1386, allocations: 190.1 kB / 351.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 4.057e-06/0.1387, allocations: 0 / 351.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.004231/0.1429, allocations: 0.737 MB / 352.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.143, allocations: 106.8 kB / 352.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.1435, allocations: 237.7 kB / 352.7 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.1435, allocations: 33.69 kB / 352.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1437, allocations: 230.3 kB / 353 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.554e-05/0.1438, allocations: 47.44 kB / 353 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.1438, allocations: 7.938 kB / 353 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1439, allocations: 322.8 kB / 353.3 MB, free: 256 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.1446, allocations: 111.9 kB / 353.5 MB, free: 144 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.1453, allocations: 191.4 kB / 353.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.146, allocations: 157.5 kB / 353.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1461, allocations: 0 / 353.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002175/0.1482, allocations: 478.4 kB / 354.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.1483, allocations: 33.7 kB / 354.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1483, allocations: 0 / 354.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.1489, allocations: 88.86 kB / 354.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.1493, allocations: 43.97 kB / 354.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.1539, allocations: 1.881 MB / 356.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.1546, allocations: 67.72 kB / 356.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.1546, allocations: 8 kB / 356.4 MB, free: 13.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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): 19 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.1549, allocations: 141.8 kB / 356.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.1549, allocations: 19.72 kB / 356.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.155, allocations: 25.84 kB / 356.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.155, allocations: 0 / 356.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.155, allocations: 15.94 kB / 356.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.155, allocations: 3.938 kB / 356.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.1554, allocations: 285.4 kB / 356.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1554, allocations: 192 / 356.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.1557, allocations: 31.97 kB / 356.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.1562, allocations: 80.8 kB / 357 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.1563, allocations: 7.984 kB / 357 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/0.1601, allocations: 1.795 MB / 358.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.1602, allocations: 0 / 358.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.1622, allocations: 405.5 kB / 359.2 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1623, allocations: 96.81 kB / 359.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.1624, allocations: 8 kB / 359.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.1629, allocations: 39.97 kB / 359.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.163, allocations: 19.97 kB / 359.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.1631, allocations: 7.984 kB / 359.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003008/0.1634, allocations: 190 kB / 359.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1634, allocations: 0 / 359.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005786/0.164, allocations: 71.84 kB / 359.6 MB, free: 9.562 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.1642, allocations: 115.2 kB / 359.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.1665, allocations: 0.5056 MB / 360.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1665, allocations: 0 / 360.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008471/0.1674, allocations: 239.7 kB / 360.4 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1678, allocations: 44.48 kB / 360.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/0.1733, allocations: 1.07 MB / 361.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1737, allocations: 0.7521 MB / 362.3 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1739, allocations: 19.44 kB / 362.3 MB, free: 6.723 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1739, allocations: 0 / 362.3 MB, free: 6.723 MB / 298.7 MB Notification: Performance of Templates: time 0.009681/0.1836, allocations: 4.056 MB / 366.4 MB, free: 2.668 MB / 298.7 MB