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.656/1.656, allocations: 171.2 MB / 186.3 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.97e-05, allocations: 0 / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08265, allocations: 38.78 MB / 266.9 MB, free: 1.117 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007165/0.08987, allocations: 4.508 MB / 271.4 MB, free: 12.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.09344, allocations: 1.322 MB / 272.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006681/0.09415, allocations: 27.94 kB / 272.8 MB, free: 11.22 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.09445, allocations: 111.2 kB / 272.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000873/0.09534, allocations: 287 kB / 273.1 MB, free: 10.83 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.09627, allocations: 267.5 kB / 273.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.09788, allocations: 0.668 MB / 274.1 MB, free: 9.898 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.09839, allocations: 217.9 kB / 274.3 MB, free: 9.688 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006834/0.09908, allocations: 383.2 kB / 274.7 MB, free: 9.312 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009409/0.1, allocations: 498.4 kB / 275.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.1004, allocations: 64 kB / 275.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.1006, allocations: 52 kB / 275.3 MB, free: 8.711 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.1008, allocations: 187.3 kB / 275.4 MB, free: 8.527 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.1012, allocations: 88 kB / 275.5 MB, free: 8.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.103, allocations: 1.215 MB / 276.7 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.103, allocations: 0 / 276.7 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.103, allocations: 0 / 276.7 MB, free: 7.223 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.237e-05/0.1031, allocations: 4 kB / 276.7 MB, free: 7.219 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.005293/0.1084, allocations: 1.24 MB / 278 MB, free: 5.926 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.1085, allocations: 16.02 kB / 278 MB, free: 5.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/0.1089, allocations: 106.8 kB / 278.1 MB, free: 5.805 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.11, allocations: 0.5158 MB / 278.6 MB, free: 5.246 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.11, allocations: 58 kB / 278.7 MB, free: 5.191 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.1103, allocations: 80 kB / 278.8 MB, free: 5.113 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004282/0.1146, allocations: 1.161 MB / 279.9 MB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.1147, allocations: 3.938 kB / 279.9 MB, free: 3.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.1148, allocations: 36 kB / 280 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.1149, allocations: 20 kB / 280 MB, free: 3.875 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005919/0.1208, allocations: 1.304 MB / 281.3 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009612/0.1305, allocations: 3.501 MB / 284.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005374/0.1359, allocations: 1.197 MB / 286 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.136, allocations: 12.55 kB / 286 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.1361, allocations: 43.11 kB / 286 MB, free: 13.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 3.527e-06/0.1361, allocations: 0 / 286 MB, free: 13.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.01531/0.1514, allocations: 3.388 MB / 289.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.1515, allocations: 63.94 kB / 289.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008932/0.1524, allocations: 470.1 kB / 289.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.1526, allocations: 41.7 kB / 290 MB, free: 9.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.153, allocations: 441.8 kB / 290.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.1534, allocations: 252.3 kB / 290.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1535, allocations: 16 kB / 290.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1536, allocations: 338.8 kB / 291 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.1563, allocations: 0.5681 MB / 291.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/0.1591, allocations: 0.6806 MB / 292.3 MB, free: 7.324 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/0.162, allocations: 0.5847 MB / 292.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.162, allocations: 0 / 292.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006729/0.1688, allocations: 1.521 MB / 294.4 MB, free: 5.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.1688, allocations: 4 kB / 294.4 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.1689, allocations: 7.953 kB / 294.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009497/0.1698, allocations: 180.7 kB / 294.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/0.1725, allocations: 287.6 kB / 294.8 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006039/0.1786, allocations: 2.659 MB / 297.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.1806, allocations: 123.9 kB / 297.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.1808, allocations: 27.98 kB / 297.6 MB, free: 1.797 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.000634/0.1814, allocations: 229.8 kB / 297.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.1817, allocations: 71.16 kB / 297.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.182, allocations: 86.45 kB / 298 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.182, allocations: 8 kB / 298 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.1821, allocations: 4 kB / 298 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.1821, allocations: 3.984 kB / 298 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.184, allocations: 1.009 MB / 299 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1841, allocations: 0 / 299 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/0.1865, allocations: 235.7 kB / 299.3 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2054/0.3919, allocations: 176.8 kB / 299.4 MB, free: 29.96 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/0.3922, allocations: 23.45 kB / 299.5 MB, free: 29.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005716/0.3979, allocations: 2.656 MB / 302.1 MB, free: 28.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.398, allocations: 1.375 kB / 302.1 MB, free: 28.64 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009402/0.4074, allocations: 2.189 MB / 304.3 MB, free: 27.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.4081, allocations: 241.6 kB / 304.5 MB, free: 27.76 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.4084, allocations: 12.53 kB / 304.6 MB, free: 27.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.4103, allocations: 160.9 kB / 304.7 MB, free: 27.74 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.4106, allocations: 50.38 kB / 304.8 MB, free: 27.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.4107, allocations: 27.14 kB / 304.8 MB, free: 27.73 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006489/0.4114, allocations: 360.1 kB / 305.1 MB, free: 27.55 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4114, allocations: 0 / 305.1 MB, free: 27.55 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001301/0.4127, allocations: 244.2 kB / 305.4 MB, free: 27.53 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.000298/0.413, allocations: 126.3 kB / 305.5 MB, free: 27.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.006886/0.4199, allocations: 1.527 MB / 307 MB, free: 26.89 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/0.42, allocations: 1.688 kB / 307 MB, free: 26.89 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004022/0.424, allocations: 0.8937 MB / 307.9 MB, free: 26.54 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4252, allocations: 102.6 kB / 308 MB, free: 26.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/0.4321, allocations: 2.596 MB / 310.6 MB, free: 24.95 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.4328, allocations: 0.9769 MB / 311.6 MB, free: 24.24 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007971/0.4336, allocations: 66.47 kB / 311.7 MB, free: 24.23 MB / 250.7 MB Notification: Performance of SimCode: time 1.273e-06/0.4336, allocations: 0 / 311.7 MB, free: 24.23 MB / 250.7 MB Notification: Performance of Templates: time 0.0272/0.4608, allocations: 14.65 MB / 326.3 MB, free: 13.57 MB / 250.7 MB