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_cpp_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 2.244/2.244, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.696e-05, allocations: 4 kB / 258.8 MB, free: 8.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3881, allocations: 44.49 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007441/0.3956, allocations: 4.524 MB / 307.8 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.3995, allocations: 1.318 MB / 309.1 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009455/0.4005, allocations: 27.94 kB / 309.2 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.4009, allocations: 115.1 kB / 309.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.4023, allocations: 283.1 kB / 309.5 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.4034, allocations: 271.5 kB / 309.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.4055, allocations: 0.668 MB / 310.5 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005987/0.4061, allocations: 209.9 kB / 310.7 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008721/0.407, allocations: 387.2 kB / 311.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.4081, allocations: 0.4906 MB / 311.5 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.4085, allocations: 56 kB / 311.6 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.4088, allocations: 56 kB / 311.7 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.4091, allocations: 191.3 kB / 311.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.4094, allocations: 88 kB / 311.9 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.4114, allocations: 1.209 MB / 313.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4114, allocations: 3.938 kB / 313.1 MB, free: 3.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4115, allocations: 0 / 313.1 MB, free: 3.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.723e-05/0.4115, allocations: 0 / 313.1 MB, free: 3.77 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.00564/0.4172, allocations: 1.251 MB / 314.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4172, allocations: 15.97 kB / 314.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004753/0.4177, allocations: 102.8 kB / 314.5 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.419, allocations: 0.5159 MB / 315 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/0.4191, allocations: 62 kB / 315.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.4194, allocations: 84 kB / 315.2 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004695/0.4241, allocations: 1.158 MB / 316.3 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.4242, allocations: 0 / 316.3 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.4243, allocations: 35.94 kB / 316.4 MB, free: 456 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.4244, allocations: 20 kB / 316.4 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00774/0.4321, allocations: 1.304 MB / 317.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.4546, allocations: 3.501 MB / 321.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.4665, allocations: 1.181 MB / 322.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.4667, allocations: 12.56 kB / 322.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/0.4668, allocations: 43.12 kB / 322.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 4.809e-06/0.4668, allocations: 0 / 322.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.04117/0.508, allocations: 3.403 MB / 325.8 MB, free: 6.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.5081, allocations: 56.06 kB / 325.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.5094, allocations: 466.1 kB / 326.3 MB, free: 6.258 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.5097, allocations: 41.7 kB / 326.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.5102, allocations: 433.8 kB / 326.8 MB, free: 5.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/0.5107, allocations: 260.3 kB / 327.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.5109, allocations: 16 kB / 327.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.5111, allocations: 342.8 kB / 327.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.5143, allocations: 0.568 MB / 328 MB, free: 4.598 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.5174, allocations: 0.6844 MB / 328.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.5204, allocations: 0.5847 MB / 329.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.5205, allocations: 0 / 329.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.007265/0.5278, allocations: 1.521 MB / 330.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.5279, allocations: 4 kB / 330.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.5279, allocations: 4 kB / 330.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009635/0.5289, allocations: 172 kB / 330.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/0.5318, allocations: 295.6 kB / 331.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/0.5382, allocations: 2.659 MB / 333.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.5403, allocations: 127.9 kB / 334 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.5406, allocations: 39.88 kB / 334 MB, free: 14.34 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.0006141/0.5412, allocations: 213.9 kB / 334.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.5415, allocations: 75.16 kB / 334.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.5418, allocations: 90.23 kB / 334.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.5418, allocations: 8 kB / 334.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.5418, allocations: 0 / 334.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.5418, allocations: 7.984 kB / 334.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.5439, allocations: 1.002 MB / 335.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.544, allocations: 0 / 335.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/0.5465, allocations: 243.7 kB / 335.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.5476, allocations: 188.5 kB / 335.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.5479, allocations: 27.94 kB / 335.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006131/0.554, allocations: 2.647 MB / 338.5 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5541, allocations: 0 / 338.5 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009898/0.564, allocations: 2.185 MB / 340.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.5643, allocations: 144.2 kB / 340.9 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.5647, allocations: 16 kB / 340.9 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/0.5667, allocations: 147.9 kB / 341 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.567, allocations: 48.83 kB / 341.1 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.5671, allocations: 27.97 kB / 341.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007005/0.5678, allocations: 358.9 kB / 341.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5678, allocations: 0 / 341.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001272/0.5691, allocations: 244 kB / 341.7 MB, free: 6.473 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.0003311/0.5695, allocations: 123.3 kB / 341.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.007187/0.5767, allocations: 1.537 MB / 343.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5767, allocations: 0 / 343.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004193/0.581, allocations: 0.8896 MB / 344.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5821, allocations: 116.3 kB / 344.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007402/0.5896, allocations: 2.601 MB / 346.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000749/0.5904, allocations: 0.9772 MB / 347.9 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/0.5912, allocations: 59.41 kB / 348 MB, free: 80 kB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.5912, allocations: 0 / 348 MB, free: 80 kB / 282.7 MB Notification: Performance of Templates: time 0.03209/0.6233, allocations: 14.64 MB / 362.6 MB, free: 1.445 MB / 298.7 MB