Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.942e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 50.41 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5279, allocations: 79.3 MB / 421.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5282, allocations: 74.83 kB / 422 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01901/0.5472, allocations: 4.461 MB / 426.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5473, allocations: 0 / 426.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.5473, allocations: 8 kB / 426.5 MB, free: 10.94 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001049/0.5484, allocations: 0.5096 MB / 427 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5484, allocations: 8.031 kB / 427 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.256e-05/0.5485, allocations: 57.92 kB / 427.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.652e-05/0.5486, allocations: 27.72 kB / 427.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.5491, allocations: 264.5 kB / 427.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.5491, allocations: 19.06 kB / 427.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.5492, allocations: 25.19 kB / 427.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.5498, allocations: 261.8 kB / 427.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5498, allocations: 0 / 427.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.5499, allocations: 15.3 kB / 427.7 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.5499, allocations: 4 kB / 427.7 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.5504, allocations: 162.4 kB / 427.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.5528, allocations: 1.035 MB / 428.9 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.5533, allocations: 151.7 kB / 429 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.5538, allocations: 142.2 kB / 429.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.5539, allocations: 7.953 kB / 429.2 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.5539, allocations: 38.5 kB / 429.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.766e-06/0.5539, allocations: 0 / 429.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001015/0.555, allocations: 245.9 kB / 429.4 MB, free: 8.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.555, allocations: 55.41 kB / 429.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.5554, allocations: 205.3 kB / 429.7 MB, free: 8.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.5554, allocations: 29.08 kB / 429.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.5556, allocations: 235.2 kB / 429.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/0.5557, allocations: 65.28 kB / 430 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.5557, allocations: 7.625 kB / 430 MB, free: 7.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5558, allocations: 322 kB / 430.3 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.556, allocations: 45.81 kB / 430.4 MB, free: 7.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.5562, allocations: 104.9 kB / 430.5 MB, free: 7.301 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.5564, allocations: 69.22 kB / 430.5 MB, free: 7.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5564, allocations: 0 / 430.5 MB, free: 7.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001055/0.5575, allocations: 307.8 kB / 430.8 MB, free: 7.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.5575, allocations: 8 kB / 430.9 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5575, allocations: 4.031 kB / 430.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.5579, allocations: 54.58 kB / 430.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.5583, allocations: 47.86 kB / 431 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.5617, allocations: 1.756 MB / 432.7 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.5621, allocations: 39.78 kB / 432.8 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.5621, allocations: 7.984 kB / 432.8 MB, free: 5.113 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 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.0001323/0.5623, allocations: 127.2 kB / 432.9 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.5624, allocations: 19.81 kB / 432.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.5624, allocations: 22.91 kB / 432.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5625, allocations: 4 kB / 432.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5625, allocations: 0 / 432.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5625, allocations: 3.984 kB / 432.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.564, allocations: 0.6161 MB / 433.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.564, allocations: 4 kB / 433.6 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.5643, allocations: 31.92 kB / 433.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/0.5646, allocations: 56.94 kB / 433.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.5646, allocations: 2.375 kB / 433.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.5679, allocations: 1.762 MB / 435.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.568, allocations: 8.047 kB / 435.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.5691, allocations: 409.3 kB / 435.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.5692, allocations: 92.89 kB / 435.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.5693, allocations: 3.5 kB / 435.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.5696, allocations: 23.8 kB / 435.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.5697, allocations: 15.97 kB / 435.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.5697, allocations: 11.88 kB / 436 MB, free: 2.031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.57, allocations: 159.1 kB / 436.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.57, allocations: 0 / 436.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006205/0.5706, allocations: 74.97 kB / 436.2 MB, free: 1.836 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 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.001508/0.5721, allocations: 0.9478 MB / 437.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.5734, allocations: 335.1 kB / 437.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5734, allocations: 0 / 437.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.5744, allocations: 267.4 kB / 437.7 MB, free: 396 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.5748, allocations: 37.91 kB / 437.8 MB, free: 360 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.5789, allocations: 0.8202 MB / 438.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.5794, allocations: 0.756 MB / 439.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.5795, allocations: 77.84 kB / 439.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5795, allocations: 0 / 439.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.54/3.119, allocations: 4.635 MB / 444 MB, free: 10.12 MB / 362.7 MB