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_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.557e-05, allocations: 4 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07602/0.07607, allocations: 44.5 MB / 299.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.3932, allocations: 74.36 MB / 374.2 MB, free: 22.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.3934, allocations: 75.38 kB / 374.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01979/0.4133, allocations: 5.137 MB / 379.4 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.936e-06/0.4133, allocations: 0 / 379.4 MB, free: 21.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.4133, allocations: 7.812 kB / 379.4 MB, free: 21.86 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.0008187/0.4142, allocations: 0.5318 MB / 380 MB, free: 21.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4142, allocations: 9.812 kB / 380 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.4143, allocations: 31.66 kB / 380 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.4147, allocations: 267.6 kB / 380.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.4147, allocations: 11.53 kB / 380.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.4148, allocations: 20.56 kB / 380.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.4152, allocations: 187 kB / 380.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4152, allocations: 4 kB / 380.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.4153, allocations: 7.391 kB / 380.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.901e-06/0.4153, allocations: 8.375 kB / 380.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.4157, allocations: 143.2 kB / 380.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.4174, allocations: 0.8797 MB / 381.5 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.4178, allocations: 135.3 kB / 381.7 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.4179, allocations: 58.22 kB / 381.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.418, allocations: 3.422 kB / 381.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.4182, allocations: 130.6 kB / 381.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.4183, allocations: 4 kB / 381.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007545/0.419, allocations: 211.7 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4191, allocations: 110.1 kB / 382.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.4194, allocations: 240.6 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4195, allocations: 27.48 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.4196, allocations: 227.5 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.4196, allocations: 47.86 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.4196, allocations: 3.438 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.4197, allocations: 325 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4199, allocations: 52.52 kB / 383.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.4201, allocations: 130.8 kB / 383.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4203, allocations: 92.69 kB / 383.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.79e-06/0.4203, allocations: 0 / 383.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008257/0.4211, allocations: 308 kB / 383.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.4212, allocations: 38.39 kB / 383.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.72e-06/0.4212, allocations: 3.25 kB / 383.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/0.4217, allocations: 100.7 kB / 383.7 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.422, allocations: 54.19 kB / 383.8 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.4237, allocations: 1.584 MB / 385.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.4241, allocations: 54.2 kB / 385.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.4241, allocations: 7.219 kB / 385.4 MB, free: 18.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001086/0.4243, allocations: 121.2 kB / 385.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.4243, allocations: 24.98 kB / 385.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.4244, allocations: 24.53 kB / 385.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-06/0.4244, allocations: 5.406 kB / 385.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-06/0.4244, allocations: 0 / 385.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.344e-06/0.4244, allocations: 3.328 kB / 385.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.4247, allocations: 291.2 kB / 385.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4247, allocations: 0 / 385.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.4249, allocations: 28.53 kB / 385.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.4254, allocations: 94.08 kB / 386 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4254, allocations: 5.062 kB / 386 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.427, allocations: 1.574 MB / 387.6 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.179e-06/0.427, allocations: 0 / 387.6 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006771/0.4277, allocations: 247 kB / 387.8 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.4278, allocations: 109 kB / 387.9 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.4279, allocations: 7.562 kB / 387.9 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.4282, allocations: 37.06 kB / 388 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.4283, allocations: 19.36 kB / 388 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.4283, allocations: 3.562 kB / 388 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.4286, allocations: 188.6 kB / 388.2 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.4286, allocations: 0 / 388.2 MB, free: 16.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005451/0.4291, allocations: 64.84 kB / 388.2 MB, free: 16.06 MB / 314.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.0001406/0.4293, allocations: 112 kB / 388.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.4298, allocations: 309.2 kB / 388.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.6e-06/0.4299, allocations: 3.938 kB / 388.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.4302, allocations: 184.4 kB / 388.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4305, allocations: 44.05 kB / 388.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.4323, allocations: 472.3 kB / 389.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.4329, allocations: 0.7487 MB / 390.1 MB, free: 30.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.951e-05/0.433, allocations: 24.33 kB / 390.1 MB, free: 30.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.758e-06/0.433, allocations: 0 / 390.1 MB, free: 30.79 MB / 330.7 MB Notification: Performance of Templates: time 0.006464/0.4395, allocations: 3.887 MB / 394 MB, free: 30.58 MB / 330.7 MB