Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.496e-05, allocations: 5.406 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 50.4 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5245, allocations: 81.12 MB / 423.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5248, allocations: 82.27 kB / 423.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02478/0.5496, allocations: 6.139 MB / 430 MB, free: 7.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5496, allocations: 0 / 430 MB, free: 7.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.105e-05/0.5497, allocations: 11.98 kB / 430 MB, free: 7.379 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001314/0.551, allocations: 0.595 MB / 430.6 MB, free: 6.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5511, allocations: 8.031 kB / 430.6 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.5512, allocations: 73.41 kB / 430.7 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.5513, allocations: 39.53 kB / 430.7 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.5518, allocations: 314.1 kB / 431 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.5519, allocations: 28.16 kB / 431 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.552, allocations: 39.56 kB / 431.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.5528, allocations: 348.4 kB / 431.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5528, allocations: 3.953 kB / 431.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.5529, allocations: 19.61 kB / 431.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.5529, allocations: 11.94 kB / 431.4 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.5536, allocations: 244.9 kB / 431.7 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.5571, allocations: 1.472 MB / 433.2 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.5577, allocations: 177.9 kB / 433.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.5579, allocations: 74.16 kB / 433.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.5579, allocations: 4 kB / 433.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.558, allocations: 33.62 kB / 433.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 4.568e-06/0.558, allocations: 11.92 kB / 433.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001128/0.5591, allocations: 282.3 kB / 433.7 MB, free: 4.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.5592, allocations: 51.41 kB / 433.8 MB, free: 4.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.5596, allocations: 275.2 kB / 434 MB, free: 3.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.5597, allocations: 32.58 kB / 434.1 MB, free: 3.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.5599, allocations: 282.6 kB / 434.4 MB, free: 3.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.5599, allocations: 53.58 kB / 434.4 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.56, allocations: 5.625 kB / 434.4 MB, free: 3.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5601, allocations: 317.9 kB / 434.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.5603, allocations: 65 kB / 434.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.5605, allocations: 132.2 kB / 434.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.5607, allocations: 83.44 kB / 435 MB, free: 3.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.5608, allocations: 4 kB / 435 MB, free: 3.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001189/0.562, allocations: 350.9 kB / 435.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.562, allocations: 8 kB / 435.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.562, allocations: 4 kB / 435.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/0.5625, allocations: 81.42 kB / 435.4 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.5628, allocations: 43.91 kB / 435.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.5672, allocations: 3.107 MB / 438.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.5678, allocations: 38.61 kB / 438.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.5678, allocations: 11 kB / 438.6 MB, free: 15.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.5679, allocations: 130.1 kB / 438.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.568, allocations: 31.62 kB / 438.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.743e-05/0.5681, allocations: 27.39 kB / 438.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5682, allocations: 7.938 kB / 438.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5682, allocations: 0 / 438.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5682, allocations: 0 / 438.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.5688, allocations: 364.7 kB / 439.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.5688, allocations: 3.953 kB / 439.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.5689, allocations: 23.92 kB / 439.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/0.5693, allocations: 77.62 kB / 439.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.5693, allocations: 0 / 439.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003716/0.5731, allocations: 3.026 MB / 442.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5731, allocations: 0 / 442.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.5742, allocations: 382.9 kB / 442.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.5744, allocations: 104 kB / 442.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.5745, allocations: 7.188 kB / 442.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.5749, allocations: 31.23 kB / 442.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.575, allocations: 15.91 kB / 442.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.575, allocations: 6.688 kB / 442.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.5754, allocations: 217.1 kB / 443.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5754, allocations: 0 / 443.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007185/0.5761, allocations: 102.9 kB / 443.2 MB, free: 11.02 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/0.5776, allocations: 0.9256 MB / 444.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.579, allocations: 455.9 kB / 444.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.579, allocations: 0.5625 kB / 444.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.5795, allocations: 314.2 kB / 444.8 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.58, allocations: 42.88 kB / 444.9 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.5814, allocations: 457.2 kB / 445.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.5819, allocations: 0.7911 MB / 446.1 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.5821, allocations: 105 kB / 446.2 MB, free: 8.105 MB / 362.7 MB Notification: Performance of SimCode: time 1.684e-06/0.5821, allocations: 0 / 446.2 MB, free: 8.105 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.574/3.156, allocations: 8.029 MB / 454.2 MB, free: 164 kB / 362.7 MB