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.135/2.135, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.321e-05, allocations: 7.984 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01042/0.1207, allocations: 6.107 MB / 351.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.1256, allocations: 1.664 MB / 352.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.127, allocations: 39.94 kB / 352.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.1277, allocations: 162.6 kB / 353 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.1299, allocations: 470.4 kB / 353.4 MB, free: 484 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1313, allocations: 303.6 kB / 353.7 MB, free: 180 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.134, allocations: 0.9006 MB / 354.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008525/0.135, allocations: 346 kB / 355 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.1358, allocations: 430.8 kB / 355.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.137, allocations: 0.5293 MB / 355.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.1373, allocations: 56 kB / 356 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.1376, allocations: 60 kB / 356 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.1379, allocations: 211 kB / 356.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.1383, allocations: 124 kB / 356.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.1408, allocations: 1.585 MB / 357.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.1409, allocations: 0 / 357.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1409, allocations: 3.938 kB / 357.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.82e-05/0.141, allocations: 0 / 357.9 MB, free: 11.94 MB / 298.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.004944/0.1459, allocations: 1.471 MB / 359.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.146, allocations: 15.97 kB / 359.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005935/0.1466, allocations: 150.2 kB / 359.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.1485, allocations: 0.7094 MB / 360.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1487, allocations: 90.45 kB / 360.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.149, allocations: 120 kB / 360.5 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.1538, allocations: 1.316 MB / 361.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.1539, allocations: 0 / 361.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.1541, allocations: 56 kB / 361.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.1542, allocations: 32 kB / 361.9 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005018/0.1592, allocations: 1.157 MB / 363 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01641/0.1756, allocations: 5.054 MB / 368.1 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00732/0.183, allocations: 1.254 MB / 369.4 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.1833, allocations: 12.66 kB / 369.4 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.197e-05/0.1834, allocations: 39.22 kB / 369.4 MB, free: 32 kB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 6.332e-06/0.1834, allocations: 4 kB / 369.4 MB, free: 28 kB / 298.7 MB Notification: Performance of matching and sorting (n=79): time 0.01756/0.201, allocations: 3.135 MB / 372.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.2011, allocations: 89.77 kB / 372.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.2028, allocations: 0.7074 MB / 373.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.203, allocations: 41.7 kB / 373.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/0.2036, allocations: 0.6022 MB / 374 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.2041, allocations: 279.9 kB / 374.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.2042, allocations: 27.83 kB / 374.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.2044, allocations: 354.8 kB / 374.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.2067, allocations: 385.8 kB / 375 MB, free: 10.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.2093, allocations: 0.5895 MB / 375.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.2119, allocations: 458.7 kB / 376 MB, free: 9.113 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.212, allocations: 0 / 376 MB, free: 9.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01202/0.224, allocations: 1.347 MB / 377.4 MB, free: 7.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.2242, allocations: 11.95 kB / 377.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.2242, allocations: 4 kB / 377.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.226, allocations: 238.7 kB / 377.6 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02211/0.2481, allocations: 0.9326 MB / 378.6 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04742/0.2956, allocations: 10.35 MB / 388.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.2976, allocations: 155 kB / 389.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.2977, allocations: 40 kB / 389.1 MB, free: 11.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 105 * 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.0007375/0.2985, allocations: 273.5 kB / 389.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.2988, allocations: 114.7 kB / 389.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.2991, allocations: 100.9 kB / 389.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.2991, allocations: 8 kB / 389.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.2991, allocations: 7.984 kB / 389.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.2992, allocations: 3.984 kB / 389.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00912/0.3083, allocations: 2.529 MB / 392.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.3084, allocations: 0 / 392.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.3095, allocations: 127.9 kB / 392.3 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002478/0.312, allocations: 456.8 kB / 392.7 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/0.3121, allocations: 16 kB / 392.7 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2993/0.6115, allocations: 10.27 MB / 403 MB, free: 46.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6115, allocations: 1.094 kB / 403 MB, free: 46.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008851/0.6204, allocations: 2.084 MB / 405.1 MB, free: 45.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.6208, allocations: 193.4 kB / 405.3 MB, free: 45.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.6211, allocations: 17.95 kB / 405.3 MB, free: 45.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.6225, allocations: 114.6 kB / 405.4 MB, free: 45.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.6228, allocations: 67.44 kB / 405.5 MB, free: 45.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.6229, allocations: 27.16 kB / 405.5 MB, free: 45.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.624, allocations: 0.5396 MB / 406 MB, free: 45.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.624, allocations: 0 / 406 MB, free: 45.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001931/0.6259, allocations: 357.5 kB / 406.4 MB, free: 45.7 MB / 330.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.0002784/0.6262, allocations: 131.5 kB / 406.5 MB, free: 45.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01025/0.6365, allocations: 2.053 MB / 408.6 MB, free: 45.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.6365, allocations: 2.25 kB / 408.6 MB, free: 45.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002736/0.6393, allocations: 1.172 MB / 409.7 MB, free: 44.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6409, allocations: 192.4 kB / 409.9 MB, free: 44.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008089/0.649, allocations: 2.825 MB / 412.7 MB, free: 42.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000845/0.6499, allocations: 1.1 MB / 413.8 MB, free: 42.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/0.6503, allocations: 61.41 kB / 413.9 MB, free: 42 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6504, allocations: 0 / 413.9 MB, free: 42 MB / 330.7 MB Notification: Performance of Templates: time 0.05021/0.7006, allocations: 40.68 MB / 454.6 MB, free: 6.359 MB / 330.7 MB