Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.412e-05, allocations: 4 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.14, allocations: 50.42 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5244/0.6645, allocations: 83.19 MB / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.6649, allocations: 69.84 kB / 426.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07334/0.7383, allocations: 15.78 MB / 442.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7383, allocations: 4 kB / 442.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.058e-05/0.7384, allocations: 16 kB / 442.2 MB, free: 13.61 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.004143/0.7426, allocations: 1.118 MB / 443.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.7426, allocations: 12.03 kB / 443.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003722/0.743, allocations: 137.4 kB / 443.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/0.7434, allocations: 118 kB / 443.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.7447, allocations: 0.5556 MB / 444.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.7448, allocations: 65.88 kB / 444.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.7451, allocations: 84.38 kB / 444.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.7473, allocations: 0.7889 MB / 445.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.7474, allocations: 0 / 445.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.7476, allocations: 35.94 kB / 445.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.7476, allocations: 20 kB / 445.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.7498, allocations: 0.7654 MB / 445.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.7601, allocations: 3.299 MB / 449.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.7617, allocations: 0.617 MB / 449.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009986/0.7628, allocations: 400.2 kB / 450.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-05/0.7629, allocations: 16.55 kB / 450.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.7629, allocations: 47.12 kB / 450.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 3.737e-06/0.763, allocations: 0 / 450.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.006129/0.7691, allocations: 1.872 MB / 452.1 MB, free: 5.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.7692, allocations: 60.19 kB / 452.2 MB, free: 5.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.7703, allocations: 0.523 MB / 452.7 MB, free: 4.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.7706, allocations: 41.7 kB / 452.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.7711, allocations: 439.3 kB / 453.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003987/0.7715, allocations: 268.2 kB / 453.5 MB, free: 4.078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.7716, allocations: 23.88 kB / 453.5 MB, free: 4.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.7718, allocations: 386.7 kB / 453.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009259/0.7728, allocations: 290 kB / 454.1 MB, free: 3.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.7738, allocations: 418.5 kB / 454.6 MB, free: 2.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.7749, allocations: 346 kB / 454.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/0.7749, allocations: 4 kB / 454.9 MB, free: 2.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003243/0.7781, allocations: 1.027 MB / 455.9 MB, free: 1.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.7782, allocations: 8 kB / 455.9 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.7782, allocations: 4 kB / 455.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009376/0.7792, allocations: 184.7 kB / 456.1 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.781, allocations: 207.7 kB / 456.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.7867, allocations: 2.615 MB / 458.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.7881, allocations: 40.16 kB / 459 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.7882, allocations: 39.98 kB / 459 MB, free: 14.32 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 {(5,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003072/0.7885, allocations: 148.9 kB / 459.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.7887, allocations: 83.02 kB / 459.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.789, allocations: 91.27 kB / 459.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.7891, allocations: 8 kB / 459.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/0.7891, allocations: 4 kB / 459.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7891, allocations: 7.969 kB / 459.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.7909, allocations: 0.8846 MB / 460.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.7909, allocations: 0 / 460.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.7924, allocations: 155.8 kB / 460.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009021/0.7934, allocations: 188.4 kB / 460.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.7935, allocations: 23.98 kB / 460.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/0.7991, allocations: 2.613 MB / 463.2 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7991, allocations: 4 kB / 463.2 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/0.8029, allocations: 1.334 MB / 464.5 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.8032, allocations: 148.1 kB / 464.7 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.8034, allocations: 20 kB / 464.7 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.8046, allocations: 59.95 kB / 464.8 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.8049, allocations: 52.7 kB / 464.8 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/0.805, allocations: 23.98 kB / 464.8 MB, free: 8.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008089/0.8058, allocations: 419.1 kB / 465.2 MB, free: 7.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8058, allocations: 0 / 465.2 MB, free: 7.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001327/0.8071, allocations: 247.9 kB / 465.5 MB, free: 7.605 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 {(5,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004359/0.8115, allocations: 1.914 MB / 467.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.8147, allocations: 0.9398 MB / 468.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.8148, allocations: 384 / 468.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002062/0.8168, allocations: 0.583 MB / 468.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.8181, allocations: 122.9 kB / 469 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/0.824, allocations: 1.826 MB / 470.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/0.8248, allocations: 0.9973 MB / 471.9 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007644/0.8256, allocations: 101.4 kB / 472 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/0.8263, allocations: 323.3 kB / 472.3 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of SimCode: time 1.001e-06/0.8263, allocations: 0 / 472.3 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06113/0.8875, allocations: 17.01 MB / 489.3 MB, free: 15.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/0.8878, allocations: 172.5 kB / 489.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/4.073, allocations: 4.062 kB / 489.5 MB, free: 15.65 MB / 410.7 MB