Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadModel(Modelica): time 1.774/1.774, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.271e-05, allocations: 4 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09529, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4288, allocations: 74.33 MB / 374.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4291, allocations: 76.34 kB / 374.3 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0201/0.4492, allocations: 5.101 MB / 379.4 MB, free: 21.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.4493, allocations: 4 kB / 379.4 MB, free: 21.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.4493, allocations: 4.75 kB / 379.4 MB, free: 21.94 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008608/0.4502, allocations: 0.5327 MB / 379.9 MB, free: 21.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4503, allocations: 12.09 kB / 379.9 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.482e-05/0.4503, allocations: 30.38 kB / 379.9 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.4507, allocations: 262.1 kB / 380.2 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.4507, allocations: 12.31 kB / 380.2 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.4508, allocations: 20.84 kB / 380.2 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.4512, allocations: 185.8 kB / 380.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4513, allocations: 1.312 kB / 380.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.4513, allocations: 16.38 kB / 380.4 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.665e-06/0.4513, allocations: 6.828 kB / 380.4 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.4517, allocations: 138.4 kB / 380.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.4535, allocations: 0.8831 MB / 381.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.4539, allocations: 132.8 kB / 381.6 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.454, allocations: 61.19 kB / 381.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.4541, allocations: 1.375 kB / 381.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.4543, allocations: 122.8 kB / 381.8 MB, free: 20.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.264e-06/0.4543, allocations: 0 / 381.8 MB, free: 20.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007488/0.4551, allocations: 221.1 kB / 382 MB, free: 20.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.4552, allocations: 112.9 kB / 382.1 MB, free: 20.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.4555, allocations: 226.8 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.4556, allocations: 35.5 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.4557, allocations: 223.1 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.4557, allocations: 41.19 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.4557, allocations: 4.469 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.4558, allocations: 323 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.456, allocations: 50.23 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.4562, allocations: 118.7 kB / 383.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.4563, allocations: 81.62 kB / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.791e-06/0.4563, allocations: 5.562 kB / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008307/0.4572, allocations: 296.7 kB / 383.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.4572, allocations: 38.52 kB / 383.5 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.584e-06/0.4573, allocations: 1.562 kB / 383.5 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.4578, allocations: 95.44 kB / 383.6 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.4581, allocations: 43.86 kB / 383.6 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.4599, allocations: 1.59 MB / 385.2 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.4604, allocations: 48.19 kB / 385.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.4605, allocations: 8.375 kB / 385.3 MB, free: 18.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.4606, allocations: 130 kB / 385.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.4606, allocations: 19.19 kB / 385.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.4607, allocations: 26.73 kB / 385.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-06/0.4607, allocations: 1.281 kB / 385.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.544e-06/0.4607, allocations: 0 / 385.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.968e-06/0.4608, allocations: 1.312 kB / 385.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.4611, allocations: 292.9 kB / 385.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4611, allocations: 0 / 385.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.4613, allocations: 31.19 kB / 385.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/0.4619, allocations: 94.47 kB / 385.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4619, allocations: 3.312 kB / 385.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.4634, allocations: 1.477 MB / 387.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.718e-06/0.4634, allocations: 0 / 387.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.4641, allocations: 249.8 kB / 387.6 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.4642, allocations: 97.31 kB / 387.7 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.4643, allocations: 8.75 kB / 387.7 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.4646, allocations: 29.09 kB / 387.7 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.4647, allocations: 25.97 kB / 387.8 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.4647, allocations: 5.906 kB / 387.8 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.4649, allocations: 175.5 kB / 387.9 MB, free: 16.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.63e-07/0.465, allocations: 4 kB / 387.9 MB, free: 16.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005123/0.4655, allocations: 73.16 kB / 388 MB, free: 16.23 MB / 314.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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001375/0.4656, allocations: 106.9 kB / 388.1 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005506/0.4662, allocations: 306.4 kB / 388.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.345e-06/0.4662, allocations: 0 / 388.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.4665, allocations: 170.3 kB / 388.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4668, allocations: 40.45 kB / 388.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.4675, allocations: 277.2 kB / 388.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/0.4682, allocations: 0.7552 MB / 389.6 MB, free: 30.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.816e-05/0.4683, allocations: 18.44 kB / 389.7 MB, free: 30.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.759e-06/0.4684, allocations: 0 / 389.7 MB, free: 30.98 MB / 330.7 MB Notification: Performance of Templates: time 0.006593/0.475, allocations: 3.832 MB / 393.5 MB, free: 30.77 MB / 330.7 MB