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_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.049e-05, allocations: 8 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08202, allocations: 44.5 MB / 299.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5252, allocations: 74.36 MB / 374.3 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5254, allocations: 77.86 kB / 374.3 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.5451, allocations: 5.129 MB / 379.5 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5451, allocations: 0 / 379.5 MB, free: 21.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.5452, allocations: 4.719 kB / 379.5 MB, free: 21.75 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.0008177/0.546, allocations: 0.5313 MB / 380 MB, free: 21.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.5461, allocations: 9.594 kB / 380 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.5462, allocations: 33.55 kB / 380 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.5465, allocations: 265.6 kB / 380.3 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5466, allocations: 15.34 kB / 380.3 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.5466, allocations: 21.06 kB / 380.3 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.5471, allocations: 186.6 kB / 380.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5471, allocations: 1.375 kB / 380.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.5471, allocations: 5.219 kB / 380.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.981e-06/0.5472, allocations: 4.844 kB / 380.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.5475, allocations: 147.9 kB / 380.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.5492, allocations: 0.888 MB / 381.6 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.5496, allocations: 136.2 kB / 381.7 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.5498, allocations: 59.92 kB / 381.7 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.5498, allocations: 1.406 kB / 381.8 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.5501, allocations: 135 kB / 381.9 MB, free: 20.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.197e-06/0.5501, allocations: 0 / 381.9 MB, free: 20.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007451/0.5508, allocations: 215 kB / 382.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5509, allocations: 106 kB / 382.2 MB, free: 20.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.5512, allocations: 239.3 kB / 382.4 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.5513, allocations: 29.67 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.5514, allocations: 173.5 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.5514, allocations: 44.14 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.5514, allocations: 5.25 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.5515, allocations: 342.5 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5517, allocations: 56.48 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.5519, allocations: 130.5 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.552, allocations: 92.97 kB / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.526e-06/0.5521, allocations: 0 / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008432/0.5529, allocations: 316.4 kB / 383.6 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.553, allocations: 42.39 kB / 383.6 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.842e-06/0.553, allocations: 7.656 kB / 383.6 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.5535, allocations: 103.8 kB / 383.7 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.5538, allocations: 48.34 kB / 383.8 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.5555, allocations: 1.589 MB / 385.4 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.556, allocations: 49.92 kB / 385.4 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.556, allocations: 6.938 kB / 385.4 MB, free: 17.99 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 9.518e-05/0.5561, allocations: 121.7 kB / 385.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.5562, allocations: 24.8 kB / 385.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.5562, allocations: 23.66 kB / 385.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.5563, allocations: 4.594 kB / 385.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5563, allocations: 0 / 385.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.632e-06/0.5563, allocations: 0 / 385.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.5566, allocations: 291 kB / 385.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-06/0.5566, allocations: 0 / 385.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.5568, allocations: 35.55 kB / 385.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/0.5573, allocations: 94.77 kB / 386 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.5573, allocations: 0.9375 kB / 386 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.5589, allocations: 1.573 MB / 387.6 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.216e-06/0.5589, allocations: 0 / 387.6 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.5596, allocations: 253.3 kB / 387.8 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.5597, allocations: 109.3 kB / 387.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.5598, allocations: 6.703 kB / 388 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.56, allocations: 32.66 kB / 388 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.5602, allocations: 20.59 kB / 388 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.5602, allocations: 2.75 kB / 388 MB, free: 16.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.5604, allocations: 188.7 kB / 388.2 MB, free: 16 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.5604, allocations: 0 / 388.2 MB, free: 16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005626/0.561, allocations: 68.97 kB / 388.3 MB, free: 15.99 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.0001416/0.5612, allocations: 109 kB / 388.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005871/0.5618, allocations: 302.6 kB / 388.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.84e-06/0.5618, allocations: 0.5 kB / 388.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.5621, allocations: 189.3 kB / 388.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.5624, allocations: 43.5 kB / 388.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.5642, allocations: 451.4 kB / 389.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.565, allocations: 0.7469 MB / 390.1 MB, free: 30.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.5651, allocations: 23.14 kB / 390.1 MB, free: 30.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.5652, allocations: 18.69 kB / 390.1 MB, free: 30.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.568e-06/0.5652, allocations: 2.438 kB / 390.1 MB, free: 30.75 MB / 330.7 MB Notification: Performance of Templates: time 0.008503/0.5737, allocations: 3.152 MB / 393.3 MB, free: 30.52 MB / 330.7 MB