Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.715e-05, allocations: 5.562 kB / 292.1 MB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09173, allocations: 50.42 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4505, allocations: 81.74 MB / 424.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4508, allocations: 76.77 kB / 424.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02456/0.4754, allocations: 6.283 MB / 430.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4755, allocations: 0 / 430.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.4755, allocations: 4 kB / 430.7 MB, free: 7.008 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001126/0.4766, allocations: 0.5766 MB / 431.2 MB, free: 6.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4767, allocations: 12.03 kB / 431.2 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.943e-05/0.4768, allocations: 35.61 kB / 431.3 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.4773, allocations: 289.7 kB / 431.6 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.4774, allocations: 16.69 kB / 431.6 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.4774, allocations: 23.44 kB / 431.6 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.478, allocations: 267.8 kB / 431.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.478, allocations: 3.938 kB / 431.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.4781, allocations: 11.06 kB / 431.9 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4781, allocations: 12 kB / 431.9 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.4786, allocations: 181.2 kB / 432.1 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.4812, allocations: 1.211 MB / 433.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.4818, allocations: 137.8 kB / 433.4 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.4819, allocations: 57.3 kB / 433.5 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.482, allocations: 8.156 kB / 433.5 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.4823, allocations: 122.2 kB / 433.6 MB, free: 4.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.149e-06/0.4823, allocations: 0 / 433.6 MB, free: 4.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007187/0.483, allocations: 210.9 kB / 433.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.4831, allocations: 88.98 kB / 433.9 MB, free: 4.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.4835, allocations: 230.5 kB / 434.1 MB, free: 3.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.4835, allocations: 33.7 kB / 434.1 MB, free: 3.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.4837, allocations: 258.9 kB / 434.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.4838, allocations: 42.2 kB / 434.4 MB, free: 3.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.4838, allocations: 7.25 kB / 434.4 MB, free: 3.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.484, allocations: 318.4 kB / 434.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.4842, allocations: 57.61 kB / 434.8 MB, free: 3.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.4844, allocations: 139.8 kB / 435 MB, free: 3.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.4846, allocations: 101.7 kB / 435.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.631e-06/0.4847, allocations: 0 / 435.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008925/0.4856, allocations: 321.4 kB / 435.4 MB, free: 2.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.4856, allocations: 29.7 kB / 435.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.76e-06/0.4857, allocations: 8.078 kB / 435.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.4858, allocations: 39.11 kB / 435.4 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.4862, allocations: 59.89 kB / 435.5 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.488, allocations: 1.377 MB / 436.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.4884, allocations: 59.02 kB / 436.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.4885, allocations: 8.094 kB / 436.9 MB, free: 1.113 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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.4886, allocations: 128.9 kB / 437.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.4887, allocations: 19.72 kB / 437.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.4888, allocations: 28.27 kB / 437.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-06/0.4888, allocations: 0 / 437.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-06/0.4888, allocations: 0 / 437.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-06/0.4888, allocations: 0 / 437.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.4892, allocations: 314.6 kB / 437.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-06/0.4892, allocations: 3.938 kB / 437.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.4895, allocations: 47.47 kB / 437.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.4896, allocations: 30.22 kB / 437.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.4897, allocations: 7.438 kB / 437.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.4913, allocations: 1.361 MB / 438.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.213e-06/0.4913, allocations: 4.031 kB / 438.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008404/0.4922, allocations: 314.2 kB / 439.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4923, allocations: 104.7 kB / 439.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.4924, allocations: 4 kB / 439.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.4927, allocations: 43.14 kB / 439.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.4928, allocations: 23.55 kB / 439.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4929, allocations: 0 / 439.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002603/0.4931, allocations: 188.2 kB / 439.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.4931, allocations: 0 / 439.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004712/0.4936, allocations: 70.41 kB / 439.6 MB, free: 14.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.4938, allocations: 106.6 kB / 439.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006098/0.4944, allocations: 315.3 kB / 440 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4945, allocations: 0 / 440 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.4948, allocations: 166.3 kB / 440.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.4951, allocations: 35.17 kB / 440.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.4969, allocations: 0.545 MB / 440.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.4974, allocations: 0.7599 MB / 441.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.4975, allocations: 27.31 kB / 441.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.37e-06/0.4975, allocations: 0 / 441.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Templates: time 0.008511/0.5061, allocations: 4.363 MB / 445.9 MB, free: 8.246 MB / 362.7 MB