Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.388e-05, allocations: 4 kB / 292.2 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09574/0.0958, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.508, allocations: 84.13 MB / 426.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5083, allocations: 73.95 kB / 426.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1786/0.6869, allocations: 23.95 MB / 450.7 MB, free: 5.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.89e-06/0.687, allocations: 0 / 450.7 MB, free: 5.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001225/0.6871, allocations: 35.98 kB / 450.8 MB, free: 5.688 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003968/0.6911, allocations: 1.393 MB / 452.2 MB, free: 4.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6912, allocations: 8.031 kB / 452.2 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/0.6918, allocations: 159.5 kB / 452.3 MB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.6937, allocations: 0.7216 MB / 453 MB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.6938, allocations: 89.64 kB / 453.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.6941, allocations: 122.9 kB / 453.2 MB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/0.6972, allocations: 1.169 MB / 454.4 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.6973, allocations: 11.92 kB / 454.4 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.6974, allocations: 51.75 kB / 454.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.6975, allocations: 31.94 kB / 454.5 MB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.7002, allocations: 0.8855 MB / 455.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.7131, allocations: 5.104 MB / 460.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.7152, allocations: 0.9444 MB / 461.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.7163, allocations: 442.8 kB / 461.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.544e-05/0.7164, allocations: 12.72 kB / 461.9 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.7165, allocations: 51.28 kB / 461.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 5.185e-06/0.7165, allocations: 0 / 461.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.003733/0.7202, allocations: 1.078 MB / 463 MB, free: 9.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.7204, allocations: 85.89 kB / 463.1 MB, free: 9.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.7219, allocations: 0.7037 MB / 463.8 MB, free: 9.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.7221, allocations: 45.7 kB / 463.8 MB, free: 8.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006046/0.7227, allocations: 0.5959 MB / 464.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.7231, allocations: 275.9 kB / 464.7 MB, free: 8.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.7232, allocations: 23.94 kB / 464.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.7234, allocations: 345.9 kB / 465.1 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007489/0.7242, allocations: 270.6 kB / 465.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009592/0.7252, allocations: 497.8 kB / 465.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000918/0.7261, allocations: 338 kB / 466.2 MB, free: 6.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.7261, allocations: 4 kB / 466.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003425/0.7296, allocations: 1.119 MB / 467.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.7297, allocations: 20.12 kB / 467.3 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.7297, allocations: 4 kB / 467.3 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007214/0.7304, allocations: 154.5 kB / 467.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004816/0.7353, allocations: 0.9404 MB / 468.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.7489, allocations: 9.333 MB / 477.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.7503, allocations: 154.9 kB / 477.9 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.7505, allocations: 44 kB / 477.9 MB, free: 9.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003105/0.7508, allocations: 156.7 kB / 478.1 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.7511, allocations: 110.7 kB / 478.2 MB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.7514, allocations: 104.9 kB / 478.3 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.7514, allocations: 8 kB / 478.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.7515, allocations: 0 / 478.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.7515, allocations: 3.984 kB / 478.3 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.7578, allocations: 2.241 MB / 480.5 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.7579, allocations: 0 / 480.5 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.7588, allocations: 127.8 kB / 480.7 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.7598, allocations: 265.1 kB / 480.9 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.76, allocations: 16 kB / 480.9 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.7727, allocations: 9.232 MB / 490.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.7728, allocations: 4.734 kB / 490.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/0.7775, allocations: 1.638 MB / 491.8 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.778, allocations: 195.8 kB / 492 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.7782, allocations: 23.94 kB / 492 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.7793, allocations: 111.9 kB / 492.1 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.7796, allocations: 64.47 kB / 492.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.458e-05/0.7797, allocations: 24 kB / 492.2 MB, free: 10.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.7808, allocations: 0.5382 MB / 492.8 MB, free: 10.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.7808, allocations: 0 / 492.8 MB, free: 10.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002033/0.7829, allocations: 359 kB / 493.1 MB, free: 9.777 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003177/0.7832, allocations: 139.1 kB / 493.2 MB, free: 9.633 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006163/0.7894, allocations: 1.774 MB / 495 MB, free: 7.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.646e-06/0.7895, allocations: 0 / 495 MB, free: 7.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.7914, allocations: 1.018 MB / 496 MB, free: 6.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.7928, allocations: 186.1 kB / 496.2 MB, free: 6.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/0.799, allocations: 1.926 MB / 498.1 MB, free: 4.605 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.8001, allocations: 1.101 MB / 499.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007221/0.8008, allocations: 103.5 kB / 499.3 MB, free: 3.375 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.8011, allocations: 55.44 kB / 499.4 MB, free: 3.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.885e-06/0.8011, allocations: 3.938 kB / 499.4 MB, free: 3.316 MB / 410.7 MB Notification: Performance of Templates: time 0.03638/0.8375, allocations: 12.89 MB / 0.5003 GB, free: 6.512 MB / 426.7 MB