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_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.666e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08242/0.08247, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007203/0.08973, allocations: 4.513 MB / 271.4 MB, free: 11.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.09321, allocations: 1.322 MB / 272.7 MB, free: 10.61 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/0.0937, allocations: 27.94 kB / 272.8 MB, free: 10.58 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.09398, allocations: 111.1 kB / 272.9 MB, free: 10.47 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007807/0.09477, allocations: 291.1 kB / 273.2 MB, free: 10.19 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008196/0.0956, allocations: 263.5 kB / 273.4 MB, free: 9.93 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.09699, allocations: 0.668 MB / 274.1 MB, free: 9.258 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.09752, allocations: 213.9 kB / 274.3 MB, free: 9.051 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.09815, allocations: 387.2 kB / 274.7 MB, free: 8.672 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.09907, allocations: 498.4 kB / 275.2 MB, free: 8.184 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.09937, allocations: 67.92 kB / 275.2 MB, free: 8.117 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.09956, allocations: 56 kB / 275.3 MB, free: 8.062 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.09981, allocations: 187.3 kB / 275.5 MB, free: 7.879 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.1001, allocations: 88 kB / 275.6 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.1018, allocations: 1.208 MB / 276.8 MB, free: 6.582 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1018, allocations: 0 / 276.8 MB, free: 6.582 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1018, allocations: 0 / 276.8 MB, free: 6.582 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.1018, allocations: 0 / 276.8 MB, free: 6.582 MB / 234.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.00512/0.107, allocations: 1.252 MB / 278 MB, free: 5.277 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.107, allocations: 8.031 kB / 278 MB, free: 5.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.1073, allocations: 102.8 kB / 278.1 MB, free: 5.168 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.1084, allocations: 0.5235 MB / 278.7 MB, free: 4.602 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/0.1085, allocations: 62 kB / 278.7 MB, free: 4.543 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.1087, allocations: 80 kB / 278.8 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/0.1129, allocations: 1.165 MB / 280 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.113, allocations: 0 / 280 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.1131, allocations: 32 kB / 280 MB, free: 3.25 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.1132, allocations: 20 kB / 280 MB, free: 3.23 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00572/0.1189, allocations: 1.304 MB / 281.3 MB, free: 1.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0096/0.1285, allocations: 3.497 MB / 284.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005451/0.134, allocations: 1.2 MB / 286 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.1342, allocations: 12.55 kB / 286 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.1342, allocations: 47.06 kB / 286.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 3.637e-06/0.1343, allocations: 0 / 286.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.01535/0.1496, allocations: 3.384 MB / 289.4 MB, free: 9.598 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1497, allocations: 64.06 kB / 289.5 MB, free: 9.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.1506, allocations: 470 kB / 290 MB, free: 9.059 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.1507, allocations: 41.7 kB / 290 MB, free: 9.012 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.1512, allocations: 407.4 kB / 290.4 MB, free: 8.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.1515, allocations: 252.3 kB / 290.7 MB, free: 8.355 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.1516, allocations: 16 kB / 290.7 MB, free: 8.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.1518, allocations: 378.8 kB / 291 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/0.1545, allocations: 0.5641 MB / 291.6 MB, free: 7.395 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/0.1572, allocations: 0.6845 MB / 292.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.1599, allocations: 0.5808 MB / 292.9 MB, free: 6.094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.16, allocations: 0 / 292.9 MB, free: 6.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006917/0.1669, allocations: 1.556 MB / 294.4 MB, free: 4.527 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.167, allocations: 11.98 kB / 294.4 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.167, allocations: 3.953 kB / 294.4 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009429/0.168, allocations: 184.6 kB / 294.6 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.1707, allocations: 283.7 kB / 294.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/0.1769, allocations: 2.663 MB / 297.6 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.179, allocations: 124 kB / 297.7 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.1791, allocations: 35.98 kB / 297.7 MB, free: 1.098 MB / 250.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.0005896/0.1797, allocations: 217.7 kB / 297.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.18, allocations: 75.16 kB / 298 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.1803, allocations: 86.45 kB / 298.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.1803, allocations: 4 kB / 298.1 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.1803, allocations: 4 kB / 298.1 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.1804, allocations: 3.984 kB / 298.1 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2454/0.4258, allocations: 0.9989 MB / 299.1 MB, free: 29.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4259, allocations: 3.016 kB / 299.1 MB, free: 29.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/0.4284, allocations: 240.2 kB / 299.3 MB, free: 29.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009908/0.4294, allocations: 180.1 kB / 299.5 MB, free: 29.94 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.4297, allocations: 28.22 kB / 299.5 MB, free: 29.94 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.4353, allocations: 2.653 MB / 302.2 MB, free: 28.57 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4354, allocations: 0 / 302.2 MB, free: 28.57 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009508/0.4449, allocations: 2.188 MB / 304.4 MB, free: 27.8 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006579/0.4456, allocations: 245.2 kB / 304.6 MB, free: 27.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.4459, allocations: 17.22 kB / 304.6 MB, free: 27.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/0.4479, allocations: 147.5 kB / 304.8 MB, free: 27.61 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.4482, allocations: 51.81 kB / 304.8 MB, free: 27.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.4483, allocations: 26.67 kB / 304.9 MB, free: 27.6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000664/0.449, allocations: 360.1 kB / 305.2 MB, free: 27.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.449, allocations: 1.406 kB / 305.2 MB, free: 27.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001291/0.4503, allocations: 240.7 kB / 305.4 MB, free: 27.4 MB / 250.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.0003016/0.4506, allocations: 132.5 kB / 305.6 MB, free: 27.3 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.007049/0.4577, allocations: 1.53 MB / 307.1 MB, free: 26.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.4578, allocations: 0.9688 kB / 307.1 MB, free: 26.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00424/0.462, allocations: 0.8842 MB / 308 MB, free: 26.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.4632, allocations: 117.8 kB / 308.1 MB, free: 26.36 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.4703, allocations: 2.568 MB / 310.7 MB, free: 24.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.471, allocations: 0.9787 MB / 311.7 MB, free: 24.12 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.001049/0.472, allocations: 84.34 kB / 311.7 MB, free: 24.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.4725, allocations: 54.86 kB / 311.8 MB, free: 24.08 MB / 250.7 MB Notification: Performance of SimCode: time 1.163e-06/0.4725, allocations: 0 / 311.8 MB, free: 24.08 MB / 250.7 MB Notification: Performance of Templates: time 0.02696/0.4995, allocations: 10.43 MB / 322.2 MB, free: 17.07 MB / 250.7 MB