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.906/1.906, allocations: 194.9 MB / 210.6 MB, free: 9.125 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.054e-05, allocations: 4 kB / 258.8 MB, free: 8.816 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 44.5 MB / 303.3 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.003816/0.326, allocations: 2.288 MB / 305.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3277, allocations: 0.5847 MB / 306.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.328, allocations: 12.41 kB / 306.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.844e-05/0.3281, allocations: 34.97 kB / 306.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3285, allocations: 95.36 kB / 306.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3287, allocations: 59.86 kB / 306.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.3291, allocations: 175 kB / 306.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.3293, allocations: 73.97 kB / 306.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.3295, allocations: 101.7 kB / 306.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.3298, allocations: 136.2 kB / 306.9 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-05/0.3299, allocations: 13.66 kB / 306.9 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.33, allocations: 14.28 kB / 306.9 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.33, allocations: 51.41 kB / 307 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.3301, allocations: 24.81 kB / 307 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.3306, allocations: 287 kB / 307.3 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3306, allocations: 0 / 307.3 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3306, allocations: 0 / 307.3 MB, free: 9.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3306, allocations: 0 / 307.3 MB, free: 9.758 MB / 250.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.001474/0.3321, allocations: 0.5837 MB / 307.8 MB, free: 9.121 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3322, allocations: 8.031 kB / 307.9 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.3323, allocations: 31.62 kB / 307.9 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.3328, allocations: 282.4 kB / 308.2 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.3329, allocations: 20.56 kB / 308.2 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.333, allocations: 24 kB / 308.2 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/0.334, allocations: 268.8 kB / 308.5 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.334, allocations: 0 / 308.5 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.3341, allocations: 12 kB / 308.5 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3341, allocations: 8 kB / 308.5 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3352, allocations: 258 kB / 308.7 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.3382, allocations: 1.044 MB / 309.8 MB, free: 7.055 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3393, allocations: 186.5 kB / 310 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3394, allocations: 4 kB / 310 MB, free: 6.859 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006123/0.34, allocations: 153.2 kB / 310.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 2.975e-06/0.34, allocations: 0 / 310.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.001797/0.3418, allocations: 403 kB / 310.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.3419, allocations: 85.05 kB / 310.6 MB, free: 6.168 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.3424, allocations: 283.7 kB / 310.9 MB, free: 5.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.3425, allocations: 25.7 kB / 310.9 MB, free: 5.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.3427, allocations: 211.4 kB / 311.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.3427, allocations: 27.62 kB / 311.1 MB, free: 5.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.3428, allocations: 4 kB / 311.1 MB, free: 5.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3429, allocations: 334.8 kB / 311.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.3434, allocations: 100.4 kB / 311.6 MB, free: 5.176 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.344, allocations: 198.5 kB / 311.8 MB, free: 4.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.3446, allocations: 141.6 kB / 311.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3446, allocations: 4 kB / 311.9 MB, free: 4.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001417/0.346, allocations: 387.7 kB / 312.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.3461, allocations: 35.73 kB / 312.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3461, allocations: 8 kB / 312.3 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.3463, allocations: 32.95 kB / 312.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.3468, allocations: 67.88 kB / 312.4 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.3482, allocations: 1.304 MB / 313.7 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.3488, allocations: 51.66 kB / 313.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.3488, allocations: 12.19 kB / 313.8 MB, free: 2.742 MB / 250.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 0.0002133/0.3491, allocations: 145.8 kB / 313.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.3491, allocations: 31.58 kB / 314 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.3492, allocations: 29.84 kB / 314 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3492, allocations: 0 / 314 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3492, allocations: 4 kB / 314 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3492, allocations: 0 / 314 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/0.3499, allocations: 451.1 kB / 314.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3499, allocations: 0 / 314.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3502, allocations: 35.97 kB / 314.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.3504, allocations: 20.84 kB / 314.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.3504, allocations: 4 kB / 314.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.3517, allocations: 1.311 MB / 315.8 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3517, allocations: 256 / 315.8 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3528, allocations: 280.4 kB / 316.1 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3529, allocations: 104.8 kB / 316.2 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.353, allocations: 4 kB / 316.2 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.3534, allocations: 23.98 kB / 316.2 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3535, allocations: 27.86 kB / 316.2 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3535, allocations: 4 kB / 316.2 MB, free: 32 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003964/0.3539, allocations: 223.1 kB / 316.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3539, allocations: 0 / 316.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005017/0.3544, allocations: 71.84 kB / 316.5 MB, free: 15.75 MB / 266.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.0001701/0.3546, allocations: 103.2 kB / 316.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.356, allocations: 406.1 kB / 317 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.356, allocations: 0 / 317 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.3567, allocations: 219.2 kB / 317.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3571, allocations: 32.64 kB / 317.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3586, allocations: 0.5265 MB / 317.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.359, allocations: 0.756 MB / 318.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002525/0.3593, allocations: 31.25 kB / 318.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3594, allocations: 27.42 kB / 318.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3594, allocations: 0 / 318.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Templates: time 0.009836/0.3693, allocations: 2.747 MB / 321.4 MB, free: 10.82 MB / 266.7 MB