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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.337e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 50.43 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.5225, allocations: 84.12 MB / 427.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5228, allocations: 77.95 kB / 427.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09307/0.6159, allocations: 23.95 MB / 451.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.059e-06/0.6159, allocations: 0 / 451.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001077/0.616, allocations: 32 kB / 451.3 MB, free: 5.719 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.003691/0.6197, allocations: 1.391 MB / 452.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6198, allocations: 8.031 kB / 452.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/0.6204, allocations: 159.5 kB / 452.8 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.6224, allocations: 0.729 MB / 453.6 MB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/0.6225, allocations: 89.64 kB / 453.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.6228, allocations: 119.1 kB / 453.8 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/0.6257, allocations: 1.165 MB / 454.9 MB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.6258, allocations: 7.938 kB / 454.9 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.626, allocations: 58.19 kB / 455 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.6261, allocations: 31.94 kB / 455 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.6287, allocations: 0.8855 MB / 455.9 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.6411, allocations: 5.1 MB / 461 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.6432, allocations: 0.9522 MB / 462 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.6443, allocations: 434.6 kB / 462.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/0.6444, allocations: 16.86 kB / 462.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.6444, allocations: 47.3 kB / 462.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 4.609e-06/0.6445, allocations: 4 kB / 462.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.003652/0.6481, allocations: 1.074 MB / 463.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.6482, allocations: 85.89 kB / 463.6 MB, free: 9.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.6498, allocations: 0.7037 MB / 464.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.65, allocations: 41.7 kB / 464.4 MB, free: 8.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006/0.6506, allocations: 0.592 MB / 465 MB, free: 8.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.651, allocations: 287.9 kB / 465.2 MB, free: 8.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/0.6511, allocations: 23.94 kB / 465.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.6513, allocations: 345.9 kB / 465.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.6521, allocations: 274.6 kB / 465.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009383/0.6531, allocations: 493.8 kB / 466.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.654, allocations: 334.6 kB / 466.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.654, allocations: 4 kB / 466.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003319/0.6573, allocations: 1.13 MB / 467.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/0.6574, allocations: 11.95 kB / 467.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.6574, allocations: 4 kB / 467.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006868/0.6581, allocations: 166.7 kB / 468 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/0.6627, allocations: 0.9326 MB / 468.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.676, allocations: 9.333 MB / 478.3 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.6773, allocations: 151 kB / 478.4 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.6775, allocations: 43.98 kB / 478.4 MB, free: 9.969 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.0003063/0.6779, allocations: 160.7 kB / 478.6 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.6782, allocations: 110.7 kB / 478.7 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.6785, allocations: 108.9 kB / 478.8 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.6785, allocations: 8 kB / 478.8 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.6786, allocations: 0 / 478.8 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.6786, allocations: 3.984 kB / 478.8 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/0.6847, allocations: 2.237 MB / 481.1 MB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.6847, allocations: 4 kB / 481.1 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.6856, allocations: 127.9 kB / 481.2 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000989/0.6866, allocations: 269 kB / 481.5 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.86e-05/0.6867, allocations: 12 kB / 481.5 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.6992, allocations: 9.229 MB / 490.7 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.413e-06/0.6992, allocations: 4.031 kB / 490.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004552/0.7038, allocations: 1.646 MB / 492.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.7043, allocations: 191.7 kB / 492.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.7045, allocations: 23.92 kB / 492.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.7056, allocations: 115.9 kB / 492.7 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.7058, allocations: 60.47 kB / 492.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/0.7059, allocations: 24 kB / 492.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001097/0.707, allocations: 0.5382 MB / 493.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.7071, allocations: 0 / 493.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001917/0.709, allocations: 363 kB / 493.6 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.0002968/0.7093, allocations: 131.1 kB / 493.8 MB, free: 9.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006014/0.7154, allocations: 1.77 MB / 495.5 MB, free: 7.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.923e-06/0.7154, allocations: 1.438 kB / 495.5 MB, free: 7.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.7172, allocations: 1.012 MB / 496.6 MB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.7186, allocations: 187.5 kB / 496.7 MB, free: 6.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/0.7245, allocations: 1.926 MB / 498.7 MB, free: 4.613 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.7257, allocations: 1.101 MB / 499.8 MB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008448/0.7265, allocations: 103.5 kB / 499.9 MB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.7268, allocations: 55.44 kB / 499.9 MB, free: 3.328 MB / 410.7 MB Notification: Performance of SimCode: time 1.818e-06/0.7268, allocations: 3.938 kB / 499.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of Templates: time 0.03694/0.7637, allocations: 12.89 MB / 0.5008 GB, free: 6.52 MB / 426.7 MB