Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.659e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 50.42 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003806/0.1137, allocations: 2.197 MB / 347.2 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1154, allocations: 0.5807 MB / 347.8 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.1156, allocations: 8 kB / 347.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.874e-05/0.1157, allocations: 31.75 kB / 347.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.1161, allocations: 87.72 kB / 347.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.1165, allocations: 71.84 kB / 348 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.1169, allocations: 171.6 kB / 348.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.1171, allocations: 48.27 kB / 348.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.1173, allocations: 95.69 kB / 348.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.1176, allocations: 115.6 kB / 348.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.1177, allocations: 20 kB / 348.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.1178, allocations: 15.94 kB / 348.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.1178, allocations: 43.81 kB / 348.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.1179, allocations: 24 kB / 348.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.1183, allocations: 239.6 kB / 348.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1183, allocations: 0 / 348.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1183, allocations: 0 / 348.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1184, allocations: 0 / 348.7 MB, free: 5.188 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.001606/0.12, allocations: 0.5913 MB / 349.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.12, allocations: 8.031 kB / 349.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1202, allocations: 31.62 kB / 349.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.1207, allocations: 266.5 kB / 349.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.1208, allocations: 16.44 kB / 349.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.1208, allocations: 16 kB / 349.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.1219, allocations: 289.8 kB / 349.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1219, allocations: 0 / 349.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.122, allocations: 11.95 kB / 349.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.122, allocations: 4 kB / 349.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.1234, allocations: 281.5 kB / 350.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.1261, allocations: 0.9677 MB / 351.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.1276, allocations: 274.5 kB / 351.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.1277, allocations: 4.203 kB / 351.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008429/0.1286, allocations: 193.8 kB / 351.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.906e-06/0.1286, allocations: 0 / 351.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.004437/0.133, allocations: 0.7332 MB / 352.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.1332, allocations: 102.8 kB / 352.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.1336, allocations: 241.7 kB / 352.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.1337, allocations: 25.7 kB / 352.7 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1339, allocations: 234.3 kB / 353 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.1339, allocations: 47.3 kB / 353 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.134, allocations: 4 kB / 353 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1341, allocations: 322.8 kB / 353.3 MB, free: 296 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.1348, allocations: 107.9 kB / 353.4 MB, free: 188 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.1355, allocations: 184.4 kB / 353.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.1362, allocations: 141.6 kB / 353.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.1362, allocations: 4 kB / 353.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.002236/0.1385, allocations: 458.8 kB / 354.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/0.1386, allocations: 41.77 kB / 354.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1386, allocations: 0 / 354.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.1393, allocations: 80.8 kB / 354.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.1397, allocations: 51.91 kB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004342/0.144, allocations: 1.819 MB / 356.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.1447, allocations: 67.8 kB / 356.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.1448, allocations: 4 kB / 356.3 MB, free: 13.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0002138/0.145, allocations: 137.7 kB / 356.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.1451, allocations: 27.72 kB / 356.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.168e-05/0.1452, allocations: 25.83 kB / 356.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1452, allocations: 4 kB / 356.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1452, allocations: 3.953 kB / 356.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1452, allocations: 3.938 kB / 356.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.1456, allocations: 293.5 kB / 356.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1456, allocations: 0 / 356.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.1459, allocations: 23.98 kB / 356.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/0.1464, allocations: 80.8 kB / 356.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.1465, allocations: 4 kB / 356.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/0.1503, allocations: 1.706 MB / 358.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1503, allocations: 3.953 kB / 358.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.1524, allocations: 401.5 kB / 359 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.1526, allocations: 104.8 kB / 359.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/0.1527, allocations: 4 kB / 359.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.1532, allocations: 39.97 kB / 359.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.1533, allocations: 19.97 kB / 359.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.1533, allocations: 7.984 kB / 359.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003062/0.1536, allocations: 190 kB / 359.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1537, allocations: 0 / 359.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005285/0.1542, allocations: 67.84 kB / 359.4 MB, free: 9.805 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.0001917/0.1544, allocations: 115.2 kB / 359.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.1561, allocations: 434.7 kB / 359.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1561, allocations: 0 / 359.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.157, allocations: 242.7 kB / 360.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.1575, allocations: 36.53 kB / 360.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.159, allocations: 0.5505 MB / 360.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1594, allocations: 0.7521 MB / 361.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1596, allocations: 19.44 kB / 361.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.073e-06/0.1596, allocations: 0 / 361.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of Templates: time 0.0101/0.1697, allocations: 4.018 MB / 365.5 MB, free: 3.555 MB / 298.7 MB