Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.613/1.613, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.843e-05, allocations: 4 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2118, allocations: 38.77 MB / 263.7 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3193, allocations: 70.47 MB / 334.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3196, allocations: 71.97 kB / 334.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06801/0.3876, allocations: 15.78 MB / 350.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.987e-06/0.3876, allocations: 0 / 350.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.781e-05/0.3877, allocations: 20 kB / 350.1 MB, free: 3.363 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.004198/0.3919, allocations: 1.22 MB / 351.3 MB, free: 2.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.392, allocations: 8.031 kB / 351.3 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.3925, allocations: 114.7 kB / 351.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.3938, allocations: 0.5159 MB / 351.9 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.3939, allocations: 62 kB / 352 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.3942, allocations: 88 kB / 352.1 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.3968, allocations: 0.9392 MB / 353 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.3968, allocations: 0 / 353 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.397, allocations: 32 kB / 353.1 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.397, allocations: 20 kB / 353.1 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.3996, allocations: 0.8748 MB / 354 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008601/0.4082, allocations: 3.506 MB / 357.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.4105, allocations: 0.8053 MB / 358.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.4116, allocations: 450.5 kB / 358.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.4117, allocations: 12.56 kB / 358.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.4118, allocations: 47.06 kB / 358.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.786e-06/0.4118, allocations: 0 / 358.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.006225/0.418, allocations: 2.064 MB / 360.8 MB, free: 8.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.4181, allocations: 60.19 kB / 360.9 MB, free: 8.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/0.419, allocations: 464.8 kB / 361.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.4192, allocations: 33.7 kB / 361.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.4196, allocations: 433.9 kB / 361.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.42, allocations: 260.3 kB / 362.1 MB, free: 7.059 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.4202, allocations: 16 kB / 362.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.4204, allocations: 350.8 kB / 362.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.4215, allocations: 362 kB / 362.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.4227, allocations: 487 kB / 363.2 MB, free: 5.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.424, allocations: 390 kB / 363.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.424, allocations: 4 kB / 363.6 MB, free: 5.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003358/0.4274, allocations: 1.083 MB / 364.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.4275, allocations: 9.562 kB / 364.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4275, allocations: 3.938 kB / 364.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007801/0.4283, allocations: 183.2 kB / 364.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.4302, allocations: 291.6 kB / 365.2 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/0.4354, allocations: 2.596 MB / 367.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4368, allocations: 127.9 kB / 367.9 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.437, allocations: 35.92 kB / 367.9 MB, free: 0.9766 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003035/0.4373, allocations: 148.8 kB / 368.1 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.4375, allocations: 79.14 kB / 368.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.4378, allocations: 82.47 kB / 368.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.551e-06/0.4378, allocations: 4 kB / 368.2 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.4379, allocations: 11.98 kB / 368.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4379, allocations: 0 / 368.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1849/0.6228, allocations: 0.9952 MB / 369.3 MB, free: 87.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.6228, allocations: 0.5 kB / 369.3 MB, free: 87.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/0.6248, allocations: 240 kB / 369.5 MB, free: 87.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008885/0.6257, allocations: 179.7 kB / 369.7 MB, free: 87.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.6259, allocations: 27.95 kB / 369.7 MB, free: 87.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/0.6306, allocations: 2.595 MB / 372.3 MB, free: 85.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.562e-06/0.6307, allocations: 0 / 372.3 MB, free: 85.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.6345, allocations: 1.58 MB / 373.9 MB, free: 85.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/0.6351, allocations: 243.6 kB / 374.1 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.6353, allocations: 12.94 kB / 374.1 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.6365, allocations: 153.9 kB / 374.3 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.6367, allocations: 53.45 kB / 374.3 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.6368, allocations: 22.16 kB / 374.3 MB, free: 85.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005489/0.6374, allocations: 357.1 kB / 374.7 MB, free: 85.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.516e-06/0.6374, allocations: 0 / 374.7 MB, free: 85.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001874/0.6393, allocations: 249.3 kB / 374.9 MB, free: 85.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002839/0.6396, allocations: 135.1 kB / 375.1 MB, free: 85.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.6425, allocations: 1.089 MB / 376.2 MB, free: 85.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.504e-06/0.6426, allocations: 0 / 376.2 MB, free: 85.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.6443, allocations: 0.6629 MB / 376.8 MB, free: 85.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.6452, allocations: 117.9 kB / 376.9 MB, free: 85.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.649, allocations: 1.721 MB / 378.7 MB, free: 84.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.6495, allocations: 0.9766 MB / 379.6 MB, free: 83.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006273/0.6501, allocations: 68.53 kB / 379.7 MB, free: 83.75 MB / 314.7 MB Notification: Performance of SimCode: time 2.691e-06/0.6502, allocations: 0 / 379.7 MB, free: 83.75 MB / 314.7 MB Notification: Performance of Templates: time 0.02144/0.6716, allocations: 14.58 MB / 394.3 MB, free: 75.91 MB / 314.7 MB