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.004/1.004, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.421e-05, allocations: 4 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1615, allocations: 25.16 MB / 176.5 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05652/0.2181, allocations: 37.5 MB / 214 MB, free: 11.96 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.2183, allocations: 59.97 kB / 214.1 MB, free: 11.9 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0639/0.2822, allocations: 15.4 MB / 229.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.991e-06/0.2823, allocations: 0 / 229.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.227e-05/0.2824, allocations: 24 kB / 229.5 MB, free: 12.43 MB / 202.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.003614/0.286, allocations: 1.216 MB / 230.7 MB, free: 11.17 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.286, allocations: 8.031 kB / 230.7 MB, free: 11.16 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.2863, allocations: 98.88 kB / 230.8 MB, free: 11.06 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.2874, allocations: 0.5121 MB / 231.4 MB, free: 10.51 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.2875, allocations: 62 kB / 231.4 MB, free: 10.45 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.2877, allocations: 87.86 kB / 231.5 MB, free: 10.36 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.2901, allocations: 0.9391 MB / 232.4 MB, free: 9.406 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.2901, allocations: 0 / 232.4 MB, free: 9.406 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.2903, allocations: 36 kB / 232.5 MB, free: 9.371 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.2903, allocations: 20 kB / 232.5 MB, free: 9.352 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.2928, allocations: 0.8865 MB / 233.4 MB, free: 8.465 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008054/0.3008, allocations: 3.479 MB / 236.9 MB, free: 4.867 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.303, allocations: 0.7991 MB / 237.7 MB, free: 4.059 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.304, allocations: 462.5 kB / 238.1 MB, free: 3.605 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.3041, allocations: 16.53 kB / 238.1 MB, free: 3.59 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.3042, allocations: 47.12 kB / 238.2 MB, free: 3.535 MB / 202.7 MB Notification: Performance of pre-optimization done (n=67): time 4.211e-06/0.3042, allocations: 0 / 238.2 MB, free: 3.535 MB / 202.7 MB Notification: Performance of matching and sorting (n=71): time 0.005756/0.31, allocations: 2.052 MB / 240.2 MB, free: 1.43 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3101, allocations: 56.19 kB / 240.3 MB, free: 1.359 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.3109, allocations: 456.8 kB / 240.7 MB, free: 0.9102 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.311, allocations: 41.7 kB / 240.8 MB, free: 0.8633 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.3114, allocations: 437.8 kB / 241.2 MB, free: 440 kB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.3117, allocations: 252.3 kB / 241.4 MB, free: 184 kB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.3118, allocations: 16 kB / 241.5 MB, free: 168 kB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.312, allocations: 342.8 kB / 241.8 MB, free: 15.82 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009701/0.313, allocations: 353.8 kB / 242.1 MB, free: 15.48 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.3141, allocations: 474.5 kB / 242.6 MB, free: 14.98 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3152, allocations: 385.1 kB / 243 MB, free: 14.6 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-06/0.3152, allocations: 0 / 243 MB, free: 14.6 MB / 218.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003109/0.3183, allocations: 1.094 MB / 244.1 MB, free: 13.49 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.3184, allocations: 8.734 kB / 244.1 MB, free: 13.48 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3184, allocations: 7.938 kB / 244.1 MB, free: 13.48 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007577/0.3192, allocations: 180.7 kB / 244.3 MB, free: 13.3 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.321, allocations: 279.7 kB / 244.5 MB, free: 13.02 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004994/0.326, allocations: 2.596 MB / 247.1 MB, free: 10.3 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3274, allocations: 124 kB / 247.3 MB, free: 10.18 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.3276, allocations: 35.98 kB / 247.3 MB, free: 10.14 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: Transistor2.Tr.C.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Transistor2.ct.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Transistor1.Tr.C.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Transistor1.ct.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C5.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(unit = "V" ) "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.0004071/0.328, allocations: 167 kB / 247.5 MB, free: 9.973 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.3283, allocations: 71.23 kB / 247.5 MB, free: 9.902 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.3286, allocations: 86.23 kB / 247.6 MB, free: 9.812 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.506e-06/0.3286, allocations: 4 kB / 247.6 MB, free: 9.809 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.3286, allocations: 8.109 kB / 247.6 MB, free: 9.801 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3286, allocations: 7.984 kB / 247.6 MB, free: 9.793 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.3305, allocations: 1.006 MB / 248.6 MB, free: 8.738 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.424e-06/0.3305, allocations: 0 / 248.6 MB, free: 8.738 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/0.3322, allocations: 239.7 kB / 248.9 MB, free: 8.504 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007583/0.333, allocations: 184.6 kB / 249 MB, free: 8.32 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.3332, allocations: 15.98 kB / 249.1 MB, free: 8.305 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004924/0.3381, allocations: 2.609 MB / 251.7 MB, free: 5.566 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-06/0.3381, allocations: 0 / 251.7 MB, free: 5.566 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.3423, allocations: 1.565 MB / 253.2 MB, free: 3.984 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.3429, allocations: 244.1 kB / 253.5 MB, free: 3.727 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.3431, allocations: 23.95 kB / 253.5 MB, free: 3.703 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.3444, allocations: 144.1 kB / 253.6 MB, free: 3.562 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.3445, allocations: 56.7 kB / 253.7 MB, free: 3.508 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.3447, allocations: 31.91 kB / 253.7 MB, free: 3.477 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0006128/0.3453, allocations: 345.6 kB / 254.1 MB, free: 3.141 MB / 218.7 MB Notification: Performance of sort global known variables: time 8e-07/0.3453, allocations: 0 / 254.1 MB, free: 3.141 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001102/0.3464, allocations: 240 kB / 254.3 MB, free: 2.906 MB / 218.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.0002897/0.3467, allocations: 139.3 kB / 254.4 MB, free: 2.762 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.3498, allocations: 1.092 MB / 255.5 MB, free: 1.656 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 4.785e-06/0.3498, allocations: 0 / 255.5 MB, free: 1.656 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.3517, allocations: 0.6614 MB / 256.2 MB, free: 0.9883 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.353, allocations: 176.8 kB / 256.4 MB, free: 0.8125 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1227/0.4757, allocations: 1.645 MB / 258 MB, free: 61.15 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.4763, allocations: 0.975 MB / 259 MB, free: 60.45 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.4769, allocations: 63.02 kB / 259 MB, free: 60.45 MB / 218.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4769, allocations: 0 / 259 MB, free: 60.45 MB / 218.7 MB Notification: Performance of Templates: time 0.02095/0.4979, allocations: 14.61 MB / 273.6 MB, free: 57.42 MB / 218.7 MB