Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.451e-05, allocations: 4 kB / 292.1 MB, free: 8.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09332, allocations: 50.41 MB / 342.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.4503, allocations: 80.11 MB / 422.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4505, allocations: 71.97 kB / 422.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02422/0.4748, allocations: 5.914 MB / 428.6 MB, free: 8.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.779e-06/0.4748, allocations: 0 / 428.6 MB, free: 8.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.4749, allocations: 4 kB / 428.6 MB, free: 8.879 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00117/0.476, allocations: 0.5823 MB / 429.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4761, allocations: 8.031 kB / 429.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4762, allocations: 31.62 kB / 429.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.4766, allocations: 266.4 kB / 429.5 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.4767, allocations: 20.19 kB / 429.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.4767, allocations: 23.81 kB / 429.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.4773, allocations: 262.7 kB / 429.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4774, allocations: 0 / 429.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.4774, allocations: 7.562 kB / 429.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.4774, allocations: 12 kB / 429.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.4779, allocations: 162.4 kB / 430 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.4801, allocations: 1.118 MB / 431.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.4807, allocations: 142.1 kB / 431.3 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.4808, allocations: 56.86 kB / 431.3 MB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.4809, allocations: 0 / 431.3 MB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.4812, allocations: 134.1 kB / 431.4 MB, free: 6.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.892e-06/0.4812, allocations: 0 / 431.4 MB, free: 6.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007619/0.482, allocations: 196.8 kB / 431.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.4821, allocations: 110.8 kB / 431.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.4825, allocations: 258 kB / 432 MB, free: 5.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.4825, allocations: 36.31 kB / 432 MB, free: 5.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.4827, allocations: 253.7 kB / 432.3 MB, free: 5.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.4828, allocations: 41.69 kB / 432.3 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.4828, allocations: 3.625 kB / 432.3 MB, free: 5.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.483, allocations: 321.9 kB / 432.6 MB, free: 5.184 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.4832, allocations: 52.67 kB / 432.7 MB, free: 5.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.4835, allocations: 167 kB / 432.9 MB, free: 4.965 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.4837, allocations: 97.28 kB / 433 MB, free: 4.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.205e-06/0.4837, allocations: 0 / 433 MB, free: 4.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009512/0.4847, allocations: 317.8 kB / 433.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.4847, allocations: 37.72 kB / 433.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4847, allocations: 4 kB / 433.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.485, allocations: 53.97 kB / 433.4 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.4853, allocations: 54.02 kB / 433.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.4875, allocations: 1.517 MB / 434.9 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.4881, allocations: 66.52 kB / 435 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.4881, allocations: 8.062 kB / 435 MB, free: 2.887 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.4883, allocations: 131 kB / 435.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.4884, allocations: 23.7 kB / 435.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.4884, allocations: 23.22 kB / 435.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.564e-06/0.4885, allocations: 3.984 kB / 435.2 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.205e-06/0.4885, allocations: 4 kB / 435.2 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-06/0.4885, allocations: 0 / 435.2 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.4889, allocations: 298.5 kB / 435.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-06/0.4889, allocations: 0 / 435.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.4891, allocations: 27.97 kB / 435.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.4893, allocations: 57.95 kB / 435.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.4894, allocations: 3 kB / 435.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.4914, allocations: 1.514 MB / 437.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-06/0.4914, allocations: 0 / 437.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.4921, allocations: 227.8 kB / 437.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.4923, allocations: 114.4 kB / 437.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.4924, allocations: 12.02 kB / 437.4 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.4928, allocations: 31.16 kB / 437.4 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.4929, allocations: 27.08 kB / 437.5 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.4929, allocations: 7.5 kB / 437.5 MB, free: 444 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002921/0.4932, allocations: 194.2 kB / 437.7 MB, free: 284 kB / 346.7 MB Notification: Performance of sort global known variables: time 9.41e-07/0.4932, allocations: 4 kB / 437.7 MB, free: 280 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005057/0.4938, allocations: 82.78 kB / 437.8 MB, free: 204 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001753/0.494, allocations: 109.8 kB / 437.9 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006906/0.4947, allocations: 319.4 kB / 438.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.005e-06/0.4947, allocations: 3.375 kB / 438.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.495, allocations: 173.4 kB / 438.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4954, allocations: 42.42 kB / 438.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.4962, allocations: 305.8 kB / 438.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.4967, allocations: 0.7599 MB / 439.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.4968, allocations: 19.44 kB / 439.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.638e-06/0.4968, allocations: 0 / 439.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Templates: time 0.008443/0.5053, allocations: 4.246 MB / 443.7 MB, free: 10.3 MB / 362.7 MB