Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.419e-05/4.425e-05, allocations: 5.562 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09253, allocations: 50.41 MB / 342.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4551, allocations: 84.2 MB / 426.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4554, allocations: 74.33 kB / 426.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0914/0.5468, allocations: 23.94 MB / 450.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.257e-06/0.5469, allocations: 0 / 450.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.885e-05/0.547, allocations: 35.98 kB / 450.8 MB, free: 5.594 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.003387/0.5504, allocations: 1.399 MB / 452.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5504, allocations: 8.031 kB / 452.2 MB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.5509, allocations: 159.5 kB / 452.4 MB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.5526, allocations: 0.7176 MB / 453.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.5527, allocations: 91.83 kB / 453.2 MB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.5529, allocations: 117.4 kB / 453.3 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.5557, allocations: 1.168 MB / 454.5 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.5558, allocations: 3.938 kB / 454.5 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.5559, allocations: 52.06 kB / 454.5 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.556, allocations: 32 kB / 454.5 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.5583, allocations: 0.8908 MB / 455.4 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.5702, allocations: 5.109 MB / 460.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.5722, allocations: 0.9405 MB / 461.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.5732, allocations: 440.1 kB / 461.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.448e-05/0.5733, allocations: 24.72 kB / 461.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.5734, allocations: 47.23 kB / 462 MB, free: 11.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 4.267e-06/0.5734, allocations: 0 / 462 MB, free: 11.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.00357/0.577, allocations: 1.078 MB / 463.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.5771, allocations: 85.89 kB / 463.1 MB, free: 9.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.5787, allocations: 0.7037 MB / 463.8 MB, free: 9.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.5788, allocations: 41.7 kB / 463.9 MB, free: 9.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000547/0.5794, allocations: 0.61 MB / 464.5 MB, free: 8.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.5798, allocations: 275.9 kB / 464.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.5799, allocations: 23.94 kB / 464.8 MB, free: 8.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.5801, allocations: 354.8 kB / 465.1 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.5808, allocations: 266.6 kB / 465.4 MB, free: 7.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/0.5818, allocations: 497.8 kB / 465.9 MB, free: 7.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.5826, allocations: 338.6 kB / 466.2 MB, free: 6.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.5826, allocations: 4 kB / 466.2 MB, free: 6.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002992/0.5856, allocations: 1.065 MB / 467.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.5857, allocations: 15.94 kB / 467.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5857, allocations: 4 kB / 467.3 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/0.5864, allocations: 158.7 kB / 467.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004584/0.591, allocations: 0.9404 MB / 468.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.6039, allocations: 9.333 MB / 477.7 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.6052, allocations: 158.8 kB / 477.9 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.6054, allocations: 40 kB / 477.9 MB, free: 10.2 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.0002915/0.6057, allocations: 160.7 kB / 478.1 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.6059, allocations: 106.8 kB / 478.2 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.6062, allocations: 108.9 kB / 478.3 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.6063, allocations: 8 kB / 478.3 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.676e-06/0.6063, allocations: 0 / 478.3 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.6063, allocations: 3.984 kB / 478.3 MB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005638/0.612, allocations: 2.233 MB / 480.5 MB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.833e-06/0.612, allocations: 0 / 480.5 MB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/0.6128, allocations: 135.7 kB / 480.7 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009478/0.6138, allocations: 265.1 kB / 480.9 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.6139, allocations: 16 kB / 480.9 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.6259, allocations: 9.228 MB / 490.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.824e-06/0.6259, allocations: 4.344 kB / 490.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.6303, allocations: 1.642 MB / 491.8 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.6308, allocations: 191.8 kB / 492 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.631, allocations: 24 kB / 492 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6321, allocations: 115.9 kB / 492.1 MB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.6323, allocations: 64.47 kB / 492.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/0.6324, allocations: 24 kB / 492.2 MB, free: 10.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.6334, allocations: 0.5343 MB / 492.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.18e-07/0.6334, allocations: 0 / 492.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001747/0.6352, allocations: 359 kB / 493.1 MB, free: 10.02 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.0002603/0.6355, allocations: 131.1 kB / 493.2 MB, free: 9.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005876/0.6414, allocations: 1.775 MB / 495 MB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.532e-06/0.6414, allocations: 0 / 495 MB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.6432, allocations: 1.016 MB / 496 MB, free: 7.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.6445, allocations: 187.5 kB / 496.2 MB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009713/0.6543, allocations: 1.97 MB / 498.2 MB, free: 4.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/0.6558, allocations: 1.097 MB / 499.3 MB, free: 3.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.6563, allocations: 63.44 kB / 499.3 MB, free: 3.617 MB / 410.7 MB Notification: Performance of SimCode: time 3.994e-06/0.6563, allocations: 3.938 kB / 499.3 MB, free: 3.613 MB / 410.7 MB Notification: Performance of Templates: time 0.2926/0.9489, allocations: 40.65 MB / 0.5273 GB, free: 135.3 MB / 442.7 MB