Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.379e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 50.4 MB / 342.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.5414, allocations: 84.18 MB / 426.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5417, allocations: 78.2 kB / 426.9 MB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1061/0.6478, allocations: 23.95 MB / 450.8 MB, free: 5.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6479, allocations: 4 kB / 450.8 MB, free: 5.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.648, allocations: 28 kB / 450.9 MB, free: 5.586 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.00486/0.6529, allocations: 1.399 MB / 452.3 MB, free: 4.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.653, allocations: 8.031 kB / 452.3 MB, free: 4.211 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005007/0.6535, allocations: 183.2 kB / 452.5 MB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/0.6539, allocations: 158.1 kB / 452.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.6559, allocations: 0.7192 MB / 453.3 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/0.656, allocations: 98.95 kB / 453.4 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.6563, allocations: 119.4 kB / 453.5 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.6596, allocations: 1.171 MB / 454.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.6597, allocations: 0 / 454.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.6599, allocations: 55.81 kB / 454.8 MB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.6599, allocations: 36 kB / 454.8 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002757/0.6627, allocations: 0.8835 MB / 455.7 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.6774, allocations: 5.1 MB / 460.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.6797, allocations: 0.9444 MB / 461.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.6809, allocations: 442.6 kB / 462.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.83e-05/0.6811, allocations: 16.86 kB / 462.2 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.6811, allocations: 51.3 kB / 462.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.998e-06/0.6811, allocations: 0 / 462.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.004838/0.686, allocations: 1.066 MB / 463.3 MB, free: 9.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.6861, allocations: 89.89 kB / 463.4 MB, free: 9.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.6878, allocations: 0.7076 MB / 464.1 MB, free: 9.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.6881, allocations: 41.7 kB / 464.1 MB, free: 8.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005474/0.6887, allocations: 0.6099 MB / 464.7 MB, free: 8.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/0.6891, allocations: 279.9 kB / 465 MB, free: 8.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.6893, allocations: 20 kB / 465 MB, free: 8.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.6894, allocations: 354.8 kB / 465.4 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/0.6903, allocations: 266.6 kB / 465.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.6913, allocations: 497.9 kB / 466.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.6924, allocations: 342 kB / 466.5 MB, free: 6.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.6924, allocations: 4 kB / 466.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00384/0.6963, allocations: 1.065 MB / 467.5 MB, free: 5.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.6963, allocations: 8 kB / 467.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.6964, allocations: 8 kB / 467.6 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008737/0.6973, allocations: 162.7 kB / 467.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007918/0.7052, allocations: 0.9404 MB / 468.7 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/0.7204, allocations: 9.329 MB / 478 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.7223, allocations: 158.9 kB / 478.1 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.7225, allocations: 43.98 kB / 478.2 MB, free: 9.992 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003226/0.7228, allocations: 160.7 kB / 478.3 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.7232, allocations: 102.8 kB / 478.4 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.7235, allocations: 104.9 kB / 478.5 MB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.7235, allocations: 12 kB / 478.6 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.7236, allocations: 4 kB / 478.6 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.7236, allocations: 3.984 kB / 478.6 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007446/0.731, allocations: 2.237 MB / 480.8 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.7311, allocations: 0 / 480.8 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.7323, allocations: 131.9 kB / 480.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.7335, allocations: 261 kB / 481.2 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.7337, allocations: 16 kB / 481.2 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.7467, allocations: 9.237 MB / 490.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7468, allocations: 0 / 490.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/0.7527, allocations: 1.646 MB / 492.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.7533, allocations: 191.7 kB / 492.3 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.7535, allocations: 19.98 kB / 492.3 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/0.7553, allocations: 115.9 kB / 492.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.7555, allocations: 64.84 kB / 492.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/0.7557, allocations: 20 kB / 492.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.7569, allocations: 0.5382 MB / 493 MB, free: 10.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.7569, allocations: 0 / 493 MB, free: 10.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002137/0.7591, allocations: 363 kB / 493.4 MB, free: 9.809 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006349/0.7655, allocations: 2.436 MB / 495.8 MB, free: 7.305 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009822/0.7753, allocations: 1.774 MB / 497.6 MB, free: 5.504 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.7754, allocations: 4 kB / 497.6 MB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.7775, allocations: 1.01 MB / 498.6 MB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.7792, allocations: 175.1 kB / 498.8 MB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009251/0.7885, allocations: 2.149 MB / 0.4892 GB, free: 2.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000946/0.7895, allocations: 1.101 MB / 0.4903 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009806/0.7905, allocations: 439.3 kB / 0.4907 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7905, allocations: 7.938 kB / 0.4907 GB, free: 496 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.631/4.422, allocations: 46.08 MB / 0.5357 GB, free: 134.6 MB / 442.7 MB