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.915/1.915, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/2.997e-05, allocations: 3.344 kB / 255.4 MB, free: 3.16 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07634/0.07638, allocations: 44.5 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.3919, allocations: 74.35 MB / 374.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.3922, allocations: 78.56 kB / 374.3 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01977/0.412, allocations: 5.131 MB / 379.4 MB, free: 21.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.039e-06/0.412, allocations: 0 / 379.4 MB, free: 21.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.412, allocations: 4.812 kB / 379.4 MB, free: 21.97 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.0008284/0.4129, allocations: 0.5326 MB / 380 MB, free: 21.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.4129, allocations: 8.688 kB / 380 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.413, allocations: 31.39 kB / 380 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.4134, allocations: 264.5 kB / 380.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.4134, allocations: 16.19 kB / 380.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.4135, allocations: 23.81 kB / 380.3 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.4139, allocations: 183.5 kB / 380.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.414, allocations: 0 / 380.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.414, allocations: 9.344 kB / 380.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.414, allocations: 4.406 kB / 380.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.4144, allocations: 143 kB / 380.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.4162, allocations: 0.8887 MB / 381.5 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.4166, allocations: 138 kB / 381.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4167, allocations: 56.78 kB / 381.7 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.4168, allocations: 1.125 kB / 381.7 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.417, allocations: 132 kB / 381.9 MB, free: 20.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.186e-06/0.4171, allocations: 1.156 kB / 381.9 MB, free: 20.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007709/0.4178, allocations: 217.7 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.4179, allocations: 106 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.4182, allocations: 230.8 kB / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4182, allocations: 30.7 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.4183, allocations: 222.5 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.4184, allocations: 48.25 kB / 382.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.4184, allocations: 3.562 kB / 382.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.4185, allocations: 328 kB / 383 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.4186, allocations: 57.83 kB / 383.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.4188, allocations: 110.5 kB / 383.2 MB, free: 19.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.419, allocations: 84.62 kB / 383.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.062e-06/0.419, allocations: 1.469 kB / 383.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008089/0.4198, allocations: 300.4 kB / 383.6 MB, free: 19.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.4199, allocations: 36.78 kB / 383.6 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.81e-06/0.4199, allocations: 1.469 kB / 383.6 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.4205, allocations: 95.67 kB / 383.7 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.4207, allocations: 50.06 kB / 383.7 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.4225, allocations: 1.59 MB / 385.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.4229, allocations: 58.34 kB / 385.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.423, allocations: 7.844 kB / 385.4 MB, free: 18.19 MB / 314.7 MB 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 9.096e-05/0.4231, allocations: 124.5 kB / 385.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.4231, allocations: 18.31 kB / 385.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.4232, allocations: 30.31 kB / 385.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-06/0.4232, allocations: 1.438 kB / 385.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-06/0.4232, allocations: 1.5 kB / 385.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.52e-06/0.4233, allocations: 1.641 kB / 385.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.4235, allocations: 293 kB / 385.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4236, allocations: 0 / 385.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.4238, allocations: 25.5 kB / 385.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/0.4242, allocations: 103.3 kB / 386 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.4243, allocations: 1.406 kB / 386 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.4258, allocations: 1.473 MB / 387.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.662e-06/0.4258, allocations: 0 / 387.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.4265, allocations: 254.1 kB / 387.7 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.4266, allocations: 99.61 kB / 387.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.4267, allocations: 2.219 kB / 387.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.427, allocations: 36.06 kB / 387.8 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.4271, allocations: 25.06 kB / 387.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4271, allocations: 2.719 kB / 387.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002155/0.4273, allocations: 182.8 kB / 388 MB, free: 16.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.4273, allocations: 1.312 kB / 388 MB, free: 16.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.4279, allocations: 71.19 kB / 388.1 MB, free: 16.27 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.000133/0.428, allocations: 107.8 kB / 388.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.4285, allocations: 303.8 kB / 388.5 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.801e-06/0.4286, allocations: 1.375 kB / 388.5 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.4288, allocations: 168.9 kB / 388.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.4292, allocations: 44.83 kB / 388.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.4298, allocations: 288 kB / 389 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.4305, allocations: 0.7524 MB / 389.8 MB, free: 31.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.4306, allocations: 18.44 kB / 389.8 MB, free: 31.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.414e-06/0.4306, allocations: 0 / 389.8 MB, free: 31.01 MB / 330.7 MB Notification: Performance of Templates: time 0.006598/0.4372, allocations: 3.851 MB / 393.6 MB, free: 30.8 MB / 330.7 MB