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.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.205e-05, allocations: 7.984 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08503/0.08508, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.425, allocations: 80.06 MB / 397 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.4253, allocations: 68.33 kB / 397.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05688/0.4822, allocations: 14.25 MB / 411.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.526e-06/0.4822, allocations: 4.156 kB / 411.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.307e-05/0.4823, allocations: 24 kB / 411.3 MB, free: 11.99 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002661/0.485, allocations: 1.062 MB / 412.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.485, allocations: 8.031 kB / 412.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.4854, allocations: 106.8 kB / 412.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009948/0.4864, allocations: 0.4893 MB / 413 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/0.4865, allocations: 61.25 kB / 413.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.4867, allocations: 79 kB / 413.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.4887, allocations: 0.8113 MB / 413.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.4887, allocations: 0 / 413.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.4888, allocations: 35.25 kB / 414 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.4889, allocations: 20 kB / 414 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.4907, allocations: 0.7054 MB / 414.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007151/0.4979, allocations: 3.091 MB / 417.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.4993, allocations: 0.6118 MB / 418.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/0.5, allocations: 372.9 kB / 418.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/0.5001, allocations: 20.48 kB / 418.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.5002, allocations: 42.31 kB / 418.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 3.844e-06/0.5002, allocations: 0 / 418.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.004643/0.5048, allocations: 1.806 MB / 420.6 MB, free: 4.859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.5049, allocations: 56.19 kB / 420.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007419/0.5057, allocations: 445.2 kB / 421.1 MB, free: 4.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-05/0.5058, allocations: 38.77 kB / 421.2 MB, free: 4.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.5061, allocations: 396 kB / 421.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.5064, allocations: 257 kB / 421.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.5065, allocations: 11.5 kB / 421.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.5067, allocations: 383.5 kB / 422.2 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.5075, allocations: 275.3 kB / 422.5 MB, free: 3.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.5082, allocations: 379 kB / 422.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.509, allocations: 322.9 kB / 423.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.256e-06/0.509, allocations: 0 / 423.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002499/0.5116, allocations: 0.954 MB / 424.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.5116, allocations: 7.984 kB / 424.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5116, allocations: 4 kB / 424.1 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007419/0.5124, allocations: 178.2 kB / 424.3 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5136, allocations: 189.8 kB / 424.5 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004835/0.5185, allocations: 2.597 MB / 427.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/0.5193, allocations: 46.16 kB / 427.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5195, allocations: 30.48 kB / 427.1 MB, free: 15.73 MB / 346.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 (84): * Single equations (assignments): 83 * 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.0002563/0.5197, allocations: 153.1 kB / 427.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.5199, allocations: 67.16 kB / 427.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.5201, allocations: 86.8 kB / 427.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.183e-06/0.5202, allocations: 11.94 kB / 427.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.5202, allocations: 7.984 kB / 427.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5202, allocations: 7.922 kB / 427.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.5216, allocations: 0.84 MB / 428.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.111e-06/0.5217, allocations: 0 / 428.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.5227, allocations: 147 kB / 428.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007968/0.5235, allocations: 181.7 kB / 428.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.893e-05/0.5236, allocations: 27.42 kB / 428.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004681/0.5283, allocations: 2.596 MB / 431.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.813e-06/0.5283, allocations: 4 kB / 431.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/0.5314, allocations: 1.28 MB / 432.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.5317, allocations: 140.2 kB / 432.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5318, allocations: 16 kB / 432.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007354/0.5326, allocations: 63.95 kB / 432.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.5328, allocations: 52.66 kB / 432.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.5329, allocations: 23.98 kB / 432.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005903/0.5335, allocations: 341.6 kB / 433.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.5335, allocations: 0 / 433.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001067/0.5346, allocations: 240.1 kB / 433.4 MB, free: 10.4 MB / 346.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.0003088/0.5349, allocations: 143.2 kB / 433.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.5374, allocations: 0.9011 MB / 434.4 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.504e-06/0.5374, allocations: 3.938 kB / 434.4 MB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.539, allocations: 0.5754 MB / 435 MB, free: 8.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.5399, allocations: 133.5 kB / 435.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.5436, allocations: 1.577 MB / 436.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/0.5444, allocations: 0.9736 MB / 437.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006137/0.545, allocations: 77.08 kB / 437.8 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.5453, allocations: 51.41 kB / 437.8 MB, free: 5.898 MB / 346.7 MB Notification: Performance of SimCode: time 1.638e-06/0.5453, allocations: 4 kB / 437.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of Templates: time 0.03901/0.5843, allocations: 9.365 MB / 447.2 MB, free: 12.58 MB / 362.7 MB