Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.195e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07858/0.07864, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4352, allocations: 74.46 MB / 374.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4355, allocations: 77.14 kB / 374.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01991/0.4554, allocations: 4.913 MB / 379.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.858e-06/0.4555, allocations: 0 / 379.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.4555, allocations: 4.312 kB / 379.3 MB, free: 21.84 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008264/0.4564, allocations: 0.5229 MB / 379.9 MB, free: 21.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4564, allocations: 10.95 kB / 379.9 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.4565, allocations: 25.41 kB / 379.9 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.4568, allocations: 250.2 kB / 380.1 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.4569, allocations: 19.41 kB / 380.2 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.4569, allocations: 16.5 kB / 380.2 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.4574, allocations: 176.5 kB / 380.4 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4574, allocations: 0 / 380.4 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.4574, allocations: 9.781 kB / 380.4 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.72e-06/0.4575, allocations: 12.03 kB / 380.4 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.4578, allocations: 131.1 kB / 380.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.4595, allocations: 0.8498 MB / 381.4 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.4599, allocations: 126.6 kB / 381.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.4601, allocations: 48.55 kB / 381.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.4601, allocations: 9.516 kB / 381.5 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.4604, allocations: 124.2 kB / 381.7 MB, free: 20.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.918e-06/0.4604, allocations: 3.984 kB / 381.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007373/0.4611, allocations: 193.1 kB / 381.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.4612, allocations: 83.89 kB / 381.9 MB, free: 20.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.4615, allocations: 200.1 kB / 382.1 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.4615, allocations: 30.98 kB / 382.2 MB, free: 20.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.4616, allocations: 169 kB / 382.3 MB, free: 20.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.4617, allocations: 43.17 kB / 382.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.4617, allocations: 2.094 kB / 382.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.4618, allocations: 331.9 kB / 382.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4619, allocations: 45.75 kB / 382.7 MB, free: 19.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.4621, allocations: 100.5 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4623, allocations: 80.5 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-06/0.4623, allocations: 1.312 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007917/0.4631, allocations: 289.1 kB / 383.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.4632, allocations: 33.95 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4632, allocations: 1.938 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000454/0.4637, allocations: 83.77 kB / 383.3 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.464, allocations: 46.52 kB / 383.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.4652, allocations: 1.331 MB / 384.7 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.4656, allocations: 40.7 kB / 384.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.4657, allocations: 8.391 kB / 384.7 MB, free: 18.29 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 (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 1} Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.4658, allocations: 125.5 kB / 384.9 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.4658, allocations: 25 kB / 384.9 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.4659, allocations: 20.28 kB / 384.9 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4659, allocations: 1.156 kB / 384.9 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-06/0.4659, allocations: 0 / 384.9 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.489e-06/0.466, allocations: 7.328 kB / 384.9 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.4662, allocations: 287.1 kB / 385.2 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-06/0.4663, allocations: 0 / 385.2 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.4665, allocations: 41.03 kB / 385.2 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000388/0.4669, allocations: 72.03 kB / 385.3 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.467, allocations: 6.812 kB / 385.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.4681, allocations: 1.336 MB / 386.6 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.717e-06/0.4681, allocations: 0 / 386.6 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.4689, allocations: 278.5 kB / 386.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.469, allocations: 100 kB / 387 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.4691, allocations: 1.375 kB / 387 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.4694, allocations: 36.61 kB / 387 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.4695, allocations: 20.08 kB / 387.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4695, allocations: 2.75 kB / 387.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.4697, allocations: 170.5 kB / 387.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.4697, allocations: 0 / 387.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004458/0.4702, allocations: 61.16 kB / 387.3 MB, free: 16.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.4703, allocations: 110.5 kB / 387.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004931/0.4708, allocations: 277 kB / 387.7 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4709, allocations: 0 / 387.7 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.4711, allocations: 159.7 kB / 387.8 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.4714, allocations: 36.2 kB / 387.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.4723, allocations: 309 kB / 388.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.473, allocations: 0.7454 MB / 388.9 MB, free: 31.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.4731, allocations: 20.23 kB / 388.9 MB, free: 31.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.4732, allocations: 17.56 kB / 389 MB, free: 31.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.747e-06/0.4732, allocations: 0 / 389 MB, free: 31.11 MB / 330.7 MB Notification: Performance of Templates: time 0.007991/0.4812, allocations: 2.726 MB / 391.7 MB, free: 30.91 MB / 330.7 MB