Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.041/1.041, allocations: 111.1 MB / 126.3 MB, free: 6.402 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.058e-05, allocations: 0 / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05197/0.05202, allocations: 25.18 MB / 179.7 MB, free: 9.613 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006701/0.05877, allocations: 4.378 MB / 184.1 MB, free: 5.219 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.0617, allocations: 1.22 MB / 185.3 MB, free: 3.996 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.06213, allocations: 20 kB / 185.3 MB, free: 3.977 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.06239, allocations: 115.1 kB / 185.4 MB, free: 3.863 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.06315, allocations: 303 kB / 185.7 MB, free: 3.566 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.06394, allocations: 259.5 kB / 186 MB, free: 3.312 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.06509, allocations: 0.6795 MB / 186.6 MB, free: 2.633 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.06556, allocations: 217.8 kB / 186.9 MB, free: 2.418 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.06615, allocations: 379.2 kB / 187.2 MB, free: 2.047 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008647/0.06703, allocations: 0.4906 MB / 187.7 MB, free: 1.555 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.06732, allocations: 63.94 kB / 187.8 MB, free: 1.492 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.06751, allocations: 56 kB / 187.8 MB, free: 1.438 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.06774, allocations: 187.3 kB / 188 MB, free: 1.254 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.06802, allocations: 88 kB / 188.1 MB, free: 1.168 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.06963, allocations: 1.2 MB / 189.3 MB, free: 15.96 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.06966, allocations: 4 kB / 189.3 MB, free: 15.96 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.06967, allocations: 0 / 189.3 MB, free: 15.96 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.0697, allocations: 0 / 189.3 MB, free: 15.96 MB / 170.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.005052/0.07476, allocations: 1.24 MB / 190.6 MB, free: 14.67 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.07482, allocations: 11.97 kB / 190.6 MB, free: 14.66 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.07511, allocations: 98.88 kB / 190.7 MB, free: 14.56 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/0.07612, allocations: 0.5119 MB / 191.2 MB, free: 14.01 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.07621, allocations: 62 kB / 191.2 MB, free: 13.95 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.07645, allocations: 80 kB / 191.3 MB, free: 13.87 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.08057, allocations: 1.158 MB / 192.5 MB, free: 12.7 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.08062, allocations: 0 / 192.5 MB, free: 12.7 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.08078, allocations: 39.95 kB / 192.5 MB, free: 12.66 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.08083, allocations: 20 kB / 192.5 MB, free: 12.64 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005712/0.08655, allocations: 1.304 MB / 193.8 MB, free: 11.33 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00887/0.09544, allocations: 3.474 MB / 197.3 MB, free: 7.734 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005243/0.1007, allocations: 1.19 MB / 198.5 MB, free: 6.535 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.1008, allocations: 16.53 kB / 198.5 MB, free: 6.52 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1009, allocations: 43.06 kB / 198.6 MB, free: 6.469 MB / 170.7 MB Notification: Performance of pre-optimization done (n=67): time 3.296e-06/0.1009, allocations: 4 kB / 198.6 MB, free: 6.465 MB / 170.7 MB Notification: Performance of matching and sorting (n=71): time 0.01486/0.1158, allocations: 3.388 MB / 201.9 MB, free: 3.027 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.1158, allocations: 60.06 kB / 202 MB, free: 2.953 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/0.1167, allocations: 462 kB / 202.5 MB, free: 2.496 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.1168, allocations: 41.7 kB / 202.5 MB, free: 2.449 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.1172, allocations: 429.8 kB / 202.9 MB, free: 2.023 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.1175, allocations: 252.3 kB / 203.2 MB, free: 1.773 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1176, allocations: 16 kB / 203.2 MB, free: 1.758 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1178, allocations: 346.8 kB / 203.5 MB, free: 1.41 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.1204, allocations: 0.5485 MB / 204.1 MB, free: 0.8633 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.1231, allocations: 0.665 MB / 204.7 MB, free: 168 kB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1355/0.2586, allocations: 0.5881 MB / 205.3 MB, free: 23.33 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.2587, allocations: 1.859 kB / 205.3 MB, free: 23.33 MB / 170.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006424/0.2651, allocations: 1.518 MB / 206.8 MB, free: 23.11 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.2652, allocations: 6.531 kB / 206.8 MB, free: 23.11 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.2652, allocations: 2.625 kB / 206.8 MB, free: 23.11 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009021/0.2661, allocations: 178.7 kB / 207 MB, free: 23.06 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/0.2686, allocations: 291.5 kB / 207.3 MB, free: 23.04 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.2739, allocations: 2.661 MB / 210 MB, free: 21.05 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.2758, allocations: 128.7 kB / 210.1 MB, free: 21.03 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.2759, allocations: 33.78 kB / 210.1 MB, free: 21.02 MB / 170.7 MB Warning: Assuming fixed start value for the following 9 variables: Transistor2.Tr.C.v:VARIABLE(flow=false unit = "V" fixed = true ) "Potential at the pin" type: Real Transistor2.ct.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Transistor1.Tr.C.v:VARIABLE(flow=false unit = "V" fixed = true ) "Potential at the pin" type: Real Transistor1.ct.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C5.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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.0006237/0.2766, allocations: 247.7 kB / 210.4 MB, free: 20.82 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.2768, allocations: 72.91 kB / 210.4 MB, free: 20.82 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.277, allocations: 81.25 kB / 210.5 MB, free: 20.76 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.277, allocations: 11.55 kB / 210.5 MB, free: 20.76 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.2771, allocations: 2.469 kB / 210.5 MB, free: 20.76 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2771, allocations: 5.172 kB / 210.5 MB, free: 20.76 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.2789, allocations: 1.004 MB / 211.5 MB, free: 20.25 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.279, allocations: 1.281 kB / 211.5 MB, free: 20.25 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/0.2813, allocations: 246.3 kB / 211.8 MB, free: 20.23 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008733/0.2822, allocations: 190.7 kB / 212 MB, free: 20.17 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.2823, allocations: 19.42 kB / 212 MB, free: 20.16 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005013/0.2873, allocations: 2.652 MB / 214.6 MB, free: 18.18 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2874, allocations: 4 kB / 214.6 MB, free: 18.17 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008495/0.2959, allocations: 2.185 MB / 216.8 MB, free: 17.32 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.2963, allocations: 239.9 kB / 217.1 MB, free: 17.1 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.2966, allocations: 23.41 kB / 217.1 MB, free: 17.09 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.2984, allocations: 150 kB / 217.2 MB, free: 17.04 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.2986, allocations: 51.98 kB / 217.3 MB, free: 17.01 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.2987, allocations: 27.69 kB / 217.3 MB, free: 16.99 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0005303/0.2993, allocations: 353.4 kB / 217.7 MB, free: 16.78 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2993, allocations: 1.281 kB / 217.7 MB, free: 16.78 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.00107/0.3003, allocations: 237.4 kB / 217.9 MB, free: 16.75 MB / 170.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.000249/0.3006, allocations: 126.4 kB / 218 MB, free: 16.65 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.006235/0.3069, allocations: 1.54 MB / 219.6 MB, free: 15.89 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3069, allocations: 0 / 219.6 MB, free: 15.89 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003476/0.3104, allocations: 0.882 MB / 220.4 MB, free: 15.43 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.3119, allocations: 174.5 kB / 220.6 MB, free: 15.34 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.3169, allocations: 2.514 MB / 223.1 MB, free: 12.93 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3174, allocations: 0.9736 MB / 224.1 MB, free: 11.93 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006816/0.3181, allocations: 59.39 kB / 224.1 MB, free: 11.88 MB / 170.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3181, allocations: 0 / 224.1 MB, free: 11.88 MB / 170.7 MB Notification: Performance of Templates: time 0.02416/0.3423, allocations: 14.69 MB / 238.8 MB, free: 13.2 MB / 186.7 MB