Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.932e-05, allocations: 4 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 50.41 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5338, allocations: 83.05 MB / 425.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5341, allocations: 82.27 kB / 425.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04064/0.5748, allocations: 9.795 MB / 435.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.037e-06/0.5748, allocations: 0 / 435.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.146e-05/0.5749, allocations: 19.94 kB / 435.6 MB, free: 2.254 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001921/0.5768, allocations: 0.775 MB / 436.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5769, allocations: 12.03 kB / 436.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.577, allocations: 98.88 kB / 436.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.5772, allocations: 75.16 kB / 436.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.578, allocations: 392 kB / 436.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.578, allocations: 42.56 kB / 437 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5781, allocations: 60.45 kB / 437 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.5794, allocations: 0.5023 MB / 437.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.5794, allocations: 0 / 437.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/0.5795, allocations: 26.81 kB / 437.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.5795, allocations: 12 kB / 437.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009684/0.5805, allocations: 354 kB / 437.9 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.5851, allocations: 1.855 MB / 439.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009966/0.5862, allocations: 0.4929 MB / 440.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.5875, allocations: 389.5 kB / 440.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.5876, allocations: 8.328 kB / 440.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005612/0.5882, allocations: 271.8 kB / 440.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.145e-06/0.5882, allocations: 0 / 440.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002258/0.5905, allocations: 0.5792 MB / 441.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.5906, allocations: 243.2 kB / 441.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.5913, allocations: 382.2 kB / 442.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.5914, allocations: 32.27 kB / 442.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.5916, allocations: 347.9 kB / 442.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.5918, allocations: 136.1 kB / 442.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.5918, allocations: 15.06 kB / 442.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.592, allocations: 337.8 kB / 442.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.5923, allocations: 120.6 kB / 443.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.5929, allocations: 281.1 kB / 443.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.5933, allocations: 166.1 kB / 443.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5934, allocations: 8 kB / 443.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002434/0.5958, allocations: 0.6753 MB / 444.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5958, allocations: 8 kB / 444.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5959, allocations: 4 kB / 444.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008068/0.5967, allocations: 156.5 kB / 444.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.5973, allocations: 91.45 kB / 444.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/0.6022, allocations: 2.428 MB / 446.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/0.6031, allocations: 88.88 kB / 447 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.6032, allocations: 23.42 kB / 447 MB, free: 8.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.6033, allocations: 134.9 kB / 447.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.6035, allocations: 47.44 kB / 447.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.6036, allocations: 60.91 kB / 447.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.6036, allocations: 4 kB / 447.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6036, allocations: 0 / 447.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.6037, allocations: 3.984 kB / 447.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.6069, allocations: 1.207 MB / 448.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6069, allocations: 8 kB / 448.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.6073, allocations: 47.91 kB / 448.5 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007001/0.608, allocations: 156.5 kB / 448.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.6081, allocations: 13.55 kB / 448.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004413/0.6125, allocations: 2.365 MB / 451 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6125, allocations: 0 / 451 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.6152, allocations: 0.8488 MB / 451.9 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.6153, allocations: 135.1 kB / 452 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6155, allocations: 6.938 kB / 452 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.6161, allocations: 51.2 kB / 452.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.6163, allocations: 35.64 kB / 452.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.6163, allocations: 11.5 kB / 452.1 MB, free: 4.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000498/0.6168, allocations: 288.8 kB / 452.4 MB, free: 3.879 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6168, allocations: 0 / 452.4 MB, free: 3.879 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008884/0.6177, allocations: 189.4 kB / 452.6 MB, free: 3.711 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002957/0.6207, allocations: 1.404 MB / 454 MB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.622, allocations: 0.5111 MB / 454.5 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6221, allocations: 0 / 454.5 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008064/0.6229, allocations: 349.8 kB / 454.8 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.6235, allocations: 81.27 kB / 454.9 MB, free: 1.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.6258, allocations: 0.737 MB / 455.6 MB, free: 1.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.6263, allocations: 0.8793 MB / 456.5 MB, free: 116 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.6267, allocations: 191.4 kB / 456.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6267, allocations: 0 / 456.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.656/3.282, allocations: 10.44 MB / 467.1 MB, free: 5.492 MB / 378.7 MB