Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.598e-05, allocations: 0 / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07733/0.07738, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4273, allocations: 75.31 MB / 375.2 MB, free: 22.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4276, allocations: 81.69 kB / 375.3 MB, free: 22.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02131/0.449, allocations: 5.548 MB / 380.8 MB, free: 21.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.646e-06/0.449, allocations: 0 / 380.8 MB, free: 21.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.449, allocations: 5.844 kB / 380.8 MB, free: 21.32 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009578/0.45, allocations: 0.5742 MB / 381.4 MB, free: 20.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4501, allocations: 9.156 kB / 381.4 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.898e-05/0.4502, allocations: 34.17 kB / 381.5 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.4505, allocations: 279.8 kB / 381.7 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.4506, allocations: 25.05 kB / 381.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.4506, allocations: 23.44 kB / 381.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.4512, allocations: 224.7 kB / 382 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4512, allocations: 0 / 382 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.4512, allocations: 8.938 kB / 382 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4513, allocations: 5.844 kB / 382 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.4517, allocations: 170.9 kB / 382.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.4538, allocations: 1.086 MB / 383.3 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.4542, allocations: 98.11 kB / 383.4 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4543, allocations: 51.11 kB / 383.4 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.4543, allocations: 3.359 kB / 383.4 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.4546, allocations: 117.5 kB / 383.5 MB, free: 19.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 3.469e-06/0.4546, allocations: 0 / 383.5 MB, free: 19.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004579/0.4551, allocations: 144.2 kB / 383.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.4551, allocations: 82.42 kB / 383.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.4555, allocations: 290.1 kB / 384 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.4556, allocations: 31.11 kB / 384.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4557, allocations: 198.1 kB / 384.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.4558, allocations: 36.14 kB / 384.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.4558, allocations: 4.812 kB / 384.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.4559, allocations: 336.3 kB / 384.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.456, allocations: 56.66 kB / 384.7 MB, free: 19.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.4562, allocations: 150.2 kB / 384.8 MB, free: 19.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.4564, allocations: 95.62 kB / 384.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.258e-06/0.4564, allocations: 1.375 kB / 384.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006669/0.4571, allocations: 293.5 kB / 385.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.4572, allocations: 37.39 kB / 385.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4572, allocations: 3.938 kB / 385.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.4574, allocations: 34.64 kB / 385.3 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.4578, allocations: 66.22 kB / 385.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000926/0.4587, allocations: 1.298 MB / 386.6 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.4592, allocations: 58.22 kB / 386.7 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.4592, allocations: 15.53 kB / 386.7 MB, free: 17.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (26): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.4593, allocations: 122.7 kB / 386.8 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.4594, allocations: 26.77 kB / 386.9 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.4595, allocations: 29.86 kB / 386.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.4595, allocations: 1.156 kB / 386.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.178e-06/0.4595, allocations: 0.9688 kB / 386.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-06/0.4595, allocations: 1.531 kB / 386.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.46, allocations: 443.1 kB / 387.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-06/0.46, allocations: 5.125 kB / 387.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.4603, allocations: 31.47 kB / 387.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/0.4605, allocations: 32.3 kB / 387.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.855e-05/0.4605, allocations: 3.438 kB / 387.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000836/0.4613, allocations: 1.293 MB / 388.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.082e-06/0.4614, allocations: 3.578 kB / 388.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.4617, allocations: 190.8 kB / 388.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.4618, allocations: 101.3 kB / 389 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.4619, allocations: 9.234 kB / 389 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.4622, allocations: 25.88 kB / 389 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.4623, allocations: 26.36 kB / 389 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4623, allocations: 3.469 kB / 389 MB, free: 15.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002812/0.4626, allocations: 224.1 kB / 389.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.19e-07/0.4626, allocations: 0 / 389.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004918/0.4631, allocations: 67.38 kB / 389.3 MB, free: 15.47 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.4633, allocations: 114.5 kB / 389.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009095/0.4642, allocations: 299.3 kB / 389.7 MB, free: 31.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.383e-06/0.4642, allocations: 3.938 kB / 389.7 MB, free: 31.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.4645, allocations: 162.2 kB / 389.9 MB, free: 31.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.4649, allocations: 51.03 kB / 389.9 MB, free: 31.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.4655, allocations: 276.6 kB / 390.2 MB, free: 30.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.466, allocations: 0.7583 MB / 391 MB, free: 30.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000172/0.4662, allocations: 30.91 kB / 391 MB, free: 30.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.4663, allocations: 21.66 kB / 391 MB, free: 30.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.447e-06/0.4663, allocations: 0 / 391 MB, free: 30.22 MB / 330.7 MB Notification: Performance of Templates: time 0.008087/0.4744, allocations: 2.739 MB / 393.8 MB, free: 30.01 MB / 330.7 MB