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.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.927e-05, allocations: 11.89 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3199, allocations: 44.51 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007452/0.3274, allocations: 4.517 MB / 307.8 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.3314, allocations: 1.33 MB / 309.2 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008409/0.3323, allocations: 27.94 kB / 309.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.3326, allocations: 111.1 kB / 309.3 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3338, allocations: 287.1 kB / 309.6 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3348, allocations: 263.5 kB / 309.8 MB, free: 7.055 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.3365, allocations: 0.668 MB / 310.5 MB, free: 6.383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005431/0.3371, allocations: 221.9 kB / 310.7 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.338, allocations: 379.2 kB / 311.1 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009923/0.339, allocations: 0.4906 MB / 311.6 MB, free: 5.301 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.3393, allocations: 60 kB / 311.6 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.3396, allocations: 52 kB / 311.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.3398, allocations: 191.3 kB / 311.9 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.3402, allocations: 92 kB / 312 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.3422, allocations: 1.214 MB / 313.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3422, allocations: 3.938 kB / 313.2 MB, free: 3.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.3422, allocations: 0 / 313.2 MB, free: 3.695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.324e-05/0.3423, allocations: 4 kB / 313.2 MB, free: 3.691 MB / 250.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.005671/0.348, allocations: 1.237 MB / 314.4 MB, free: 2.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.3481, allocations: 15.97 kB / 314.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.3486, allocations: 102.8 kB / 314.6 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.3498, allocations: 0.5198 MB / 315.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.786e-05/0.3499, allocations: 62 kB / 315.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.3502, allocations: 80 kB / 315.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005215/0.3554, allocations: 1.161 MB / 316.4 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.3555, allocations: 0 / 316.4 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.3557, allocations: 36 kB / 316.4 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.3557, allocations: 20 kB / 316.4 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006013/0.3618, allocations: 1.304 MB / 317.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009606/0.3714, allocations: 3.489 MB / 321.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005377/0.3768, allocations: 1.193 MB / 322.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.377, allocations: 16.55 kB / 322.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.377, allocations: 39.12 kB / 322.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 3.297e-06/0.3771, allocations: 0 / 322.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.01524/0.3923, allocations: 3.388 MB / 325.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.3924, allocations: 64.05 kB / 325.9 MB, free: 6.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009326/0.3934, allocations: 470.1 kB / 326.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.3935, allocations: 41.7 kB / 326.4 MB, free: 6.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.394, allocations: 395.4 kB / 326.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.3943, allocations: 256.3 kB / 327.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3945, allocations: 16 kB / 327.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.3947, allocations: 386.7 kB / 327.4 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/0.3974, allocations: 0.5602 MB / 328 MB, free: 4.531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/0.4002, allocations: 0.6883 MB / 328.7 MB, free: 3.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/0.403, allocations: 0.5886 MB / 329.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.403, allocations: 8 kB / 329.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006842/0.4099, allocations: 1.544 MB / 330.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.4099, allocations: 8 kB / 330.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.41, allocations: 0 / 330.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/0.4109, allocations: 180.7 kB / 331 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.4137, allocations: 287.6 kB / 331.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/0.4199, allocations: 2.65 MB / 333.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.422, allocations: 132.1 kB / 334.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.4222, allocations: 39.94 kB / 334.1 MB, free: 14.24 MB / 282.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.0006062/0.4229, allocations: 225.8 kB / 334.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.4231, allocations: 75.14 kB / 334.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.4234, allocations: 90.23 kB / 334.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.4234, allocations: 4 kB / 334.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.4235, allocations: 4 kB / 334.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4235, allocations: 7.984 kB / 334.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.4255, allocations: 1.005 MB / 335.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.4255, allocations: 0 / 335.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/0.428, allocations: 235.7 kB / 335.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000962/0.429, allocations: 192.8 kB / 335.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.4292, allocations: 23.94 kB / 336 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005979/0.4352, allocations: 2.644 MB / 338.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4353, allocations: 0 / 338.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009531/0.4448, allocations: 2.192 MB / 340.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.4451, allocations: 136.3 kB / 340.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.4455, allocations: 20 kB / 341 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.4475, allocations: 147.9 kB / 341.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.4477, allocations: 52.58 kB / 341.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.4478, allocations: 23.97 kB / 341.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006845/0.4485, allocations: 358.9 kB / 341.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4485, allocations: 0 / 341.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001222/0.4498, allocations: 244 kB / 341.8 MB, free: 6.355 MB / 282.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.0003471/0.4501, allocations: 127.3 kB / 341.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.007136/0.4573, allocations: 1.529 MB / 343.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4573, allocations: 0 / 343.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004221/0.4616, allocations: 0.8936 MB / 344.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.4628, allocations: 106.4 kB / 344.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.4702, allocations: 2.566 MB / 347 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/0.471, allocations: 0.9772 MB / 348 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001011/0.472, allocations: 85.16 kB / 348 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.4725, allocations: 55.41 kB / 348.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.263e-06/0.4725, allocations: 0 / 348.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of Templates: time 0.03134/0.5039, allocations: 10.4 MB / 358.5 MB, free: 5.562 MB / 298.7 MB