Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.03e-05, allocations: 4 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5263, allocations: 79.28 MB / 421.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.5266, allocations: 78.5 kB / 422 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02311/0.5497, allocations: 5.281 MB / 427.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5498, allocations: 0 / 427.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.5498, allocations: 7.984 kB / 427.3 MB, free: 10.23 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001243/0.5511, allocations: 0.5521 MB / 427.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.5512, allocations: 8.031 kB / 427.9 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.987e-05/0.5513, allocations: 68.59 kB / 427.9 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.5514, allocations: 39.53 kB / 428 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.5519, allocations: 279.1 kB / 428.2 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.5519, allocations: 23.53 kB / 428.3 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.552, allocations: 30.06 kB / 428.3 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007158/0.5527, allocations: 305.8 kB / 428.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5528, allocations: 3.953 kB / 428.6 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.5528, allocations: 13.56 kB / 428.6 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5529, allocations: 8 kB / 428.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.5535, allocations: 210.4 kB / 428.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.5569, allocations: 1.304 MB / 430.1 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.5577, allocations: 206.9 kB / 430.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/0.5582, allocations: 141.6 kB / 430.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.5582, allocations: 0 / 430.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.5583, allocations: 38.55 kB / 430.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.5583, allocations: 0 / 430.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001579/0.5599, allocations: 333.5 kB / 430.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.5599, allocations: 55.41 kB / 430.9 MB, free: 7.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.5603, allocations: 236.6 kB / 431.1 MB, free: 6.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.5604, allocations: 28.77 kB / 431.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.5605, allocations: 266.4 kB / 431.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.5606, allocations: 69.92 kB / 431.5 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.5606, allocations: 6.688 kB / 431.5 MB, free: 6.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5608, allocations: 330.2 kB / 431.8 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.561, allocations: 60.38 kB / 431.8 MB, free: 6.145 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.5612, allocations: 153.8 kB / 432 MB, free: 5.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.5615, allocations: 88.94 kB / 432.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5615, allocations: 4 kB / 432.1 MB, free: 5.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001655/0.5632, allocations: 413.2 kB / 432.5 MB, free: 5.566 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004979/0.5637, allocations: 1.221 MB / 433.7 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5637, allocations: 0 / 433.7 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.5641, allocations: 86.3 kB / 433.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.5645, allocations: 55.55 kB / 433.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.5676, allocations: 2.007 MB / 435.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.5681, allocations: 49.11 kB / 435.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.5681, allocations: 15.31 kB / 435.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5682, allocations: 4 kB / 435.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/0.5693, allocations: 302.8 kB / 436.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.5693, allocations: 11.89 kB / 436.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.5695, allocations: 52.12 kB / 436.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.5699, allocations: 63.03 kB / 436.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.5728, allocations: 2.63 MB / 439 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.5732, allocations: 27.5 kB / 439 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.5732, allocations: 15.88 kB / 439 MB, free: 14.82 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.5734, allocations: 124.7 kB / 439.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.5735, allocations: 27.67 kB / 439.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.008e-05/0.5736, allocations: 32.78 kB / 439.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5736, allocations: 3.984 kB / 439.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.5736, allocations: 0 / 439.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5736, allocations: 0 / 439.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.5758, allocations: 0.7372 MB / 439.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5759, allocations: 0 / 439.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.5761, allocations: 35.73 kB / 440 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.5765, allocations: 75.12 kB / 440 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.5765, allocations: 7.891 kB / 440.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/0.5814, allocations: 3.097 MB / 443.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5815, allocations: 4 kB / 443.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.5832, allocations: 0.498 MB / 443.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.5834, allocations: 111.5 kB / 443.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.5834, allocations: 0 / 443.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.5839, allocations: 35.98 kB / 443.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.584, allocations: 19.78 kB / 443.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.584, allocations: 4 kB / 443.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002789/0.5843, allocations: 190.2 kB / 444 MB, free: 9.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5843, allocations: 0 / 444 MB, free: 9.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009328/0.5853, allocations: 153.8 kB / 444.2 MB, free: 9.789 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002115/0.5874, allocations: 1.059 MB / 445.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.5894, allocations: 0.6759 MB / 445.9 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5894, allocations: 3.938 kB / 445.9 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.5906, allocations: 383.1 kB / 446.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.5911, allocations: 37.86 kB / 446.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.5927, allocations: 486.2 kB / 446.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5931, allocations: 0.7726 MB / 447.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.5933, allocations: 90.59 kB / 447.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5933, allocations: 0 / 447.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.734/3.327, allocations: 6.718 MB / 454.4 MB, free: 15.79 MB / 378.7 MB