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_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.867/1.867, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.903e-05, allocations: 7.938 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2942, allocations: 44.49 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.407, allocations: 73.7 MB / 367.8 MB, free: 8.297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4073, allocations: 83.89 kB / 367.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02058/0.4279, allocations: 5.06 MB / 373 MB, free: 3.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.667e-06/0.4279, allocations: 4 kB / 373 MB, free: 3.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.4279, allocations: 11.94 kB / 373 MB, free: 3.125 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009963/0.4289, allocations: 0.5289 MB / 373.5 MB, free: 2.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.429, allocations: 8.031 kB / 373.5 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.4291, allocations: 31.62 kB / 373.5 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.4295, allocations: 266.3 kB / 373.8 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4296, allocations: 8 kB / 373.8 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.4296, allocations: 12 kB / 373.8 MB, free: 2.184 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003788/0.43, allocations: 132.8 kB / 374 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.4304, allocations: 162.4 kB / 374.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4305, allocations: 0 / 374.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.4305, allocations: 0 / 374.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4305, allocations: 8 kB / 374.1 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.4325, allocations: 0.8429 MB / 375 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.4329, allocations: 126.8 kB / 375.1 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.433, allocations: 56.8 kB / 375.1 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.433, allocations: 4 kB / 375.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.4333, allocations: 126.1 kB / 375.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 6.454e-06/0.4334, allocations: 0 / 375.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007649/0.4341, allocations: 210.1 kB / 375.5 MB, free: 428 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.4342, allocations: 106.8 kB / 375.6 MB, free: 296 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.4345, allocations: 208.5 kB / 375.8 MB, free: 84 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.4346, allocations: 37.69 kB / 375.8 MB, free: 40 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.4348, allocations: 218.3 kB / 376 MB, free: 15.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.4349, allocations: 47.39 kB / 376.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.4349, allocations: 0 / 376.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4351, allocations: 322.8 kB / 376.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.4352, allocations: 52.05 kB / 376.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.4354, allocations: 111.8 kB / 376.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.4356, allocations: 46.02 kB / 376.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.515e-06/0.4356, allocations: 0 / 376.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008272/0.4364, allocations: 251.1 kB / 376.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.4365, allocations: 41.7 kB / 376.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4365, allocations: 4 kB / 376.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/0.4371, allocations: 100.7 kB / 377 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.4373, allocations: 39.97 kB / 377 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.4394, allocations: 1.432 MB / 378.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.4397, allocations: 43.75 kB / 378.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.4398, allocations: 8 kB / 378.5 MB, free: 13.17 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001719/0.44, allocations: 116 kB / 378.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.44, allocations: 19.88 kB / 378.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.4401, allocations: 25.95 kB / 378.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.086e-06/0.4401, allocations: 7.953 kB / 378.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-06/0.4401, allocations: 0 / 378.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.077e-06/0.4401, allocations: 0 / 378.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.4405, allocations: 250 kB / 378.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-06/0.4405, allocations: 4 kB / 378.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4407, allocations: 23.98 kB / 378.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.4412, allocations: 92.78 kB / 379 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4412, allocations: 0 / 379 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.4431, allocations: 1.428 MB / 380.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.584e-06/0.4431, allocations: 192 / 380.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.4438, allocations: 246.7 kB / 380.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.444, allocations: 100.8 kB / 380.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.444, allocations: 0 / 380.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.4443, allocations: 43.95 kB / 380.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.4444, allocations: 19.97 kB / 380.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4444, allocations: 0 / 380.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.4447, allocations: 164.5 kB / 381 MB, free: 10.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4447, allocations: 0 / 381 MB, free: 10.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.4451, allocations: 63.84 kB / 381.1 MB, free: 10.39 MB / 330.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.0001675/0.4453, allocations: 108.4 kB / 381.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.4459, allocations: 293 kB / 381.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4459, allocations: 0 / 381.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.4462, allocations: 174 kB / 381.7 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.4466, allocations: 32.73 kB / 381.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.4473, allocations: 275.2 kB / 382 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.4477, allocations: 0.7522 MB / 382.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.4478, allocations: 19.44 kB / 382.7 MB, free: 8.664 MB / 330.7 MB Notification: Performance of SimCode: time 1.481e-06/0.4478, allocations: 0 / 382.7 MB, free: 8.664 MB / 330.7 MB Notification: Performance of Templates: time 0.00748/0.4553, allocations: 3.785 MB / 386.5 MB, free: 4.875 MB / 330.7 MB