Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.876e-05, allocations: 8.984 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 50.4 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4234/0.5279, allocations: 80.13 MB / 422.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5282, allocations: 71.52 kB / 422.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02719/0.5554, allocations: 5.912 MB / 428.7 MB, free: 8.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5554, allocations: 0 / 428.7 MB, free: 8.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.5555, allocations: 4 kB / 428.7 MB, free: 8.562 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001482/0.557, allocations: 0.5744 MB / 429.3 MB, free: 7.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.557, allocations: 8.031 kB / 429.3 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.444e-05/0.5571, allocations: 61.84 kB / 429.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.5572, allocations: 31.62 kB / 429.4 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.5577, allocations: 270.4 kB / 429.7 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.5577, allocations: 16.19 kB / 429.7 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.5578, allocations: 27.56 kB / 429.7 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.5585, allocations: 256.9 kB / 430 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5585, allocations: 0 / 430 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.5585, allocations: 10.56 kB / 430 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.5586, allocations: 8 kB / 430 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.5591, allocations: 167.2 kB / 430.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.5617, allocations: 1.128 MB / 431.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.5623, allocations: 144.9 kB / 431.4 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.5625, allocations: 53.86 kB / 431.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.5625, allocations: 3.984 kB / 431.5 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.5629, allocations: 130.5 kB / 431.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.374e-06/0.5629, allocations: 0 / 431.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009428/0.5638, allocations: 212.9 kB / 431.8 MB, free: 5.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.5639, allocations: 102.8 kB / 431.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.5643, allocations: 254 kB / 432.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.5644, allocations: 33.64 kB / 432.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.5646, allocations: 253.7 kB / 432.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.5646, allocations: 37.83 kB / 432.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.5647, allocations: 5 kB / 432.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5648, allocations: 322.2 kB / 432.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.565, allocations: 52.86 kB / 432.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.5653, allocations: 166 kB / 433 MB, free: 4.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.5655, allocations: 92.09 kB / 433.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5656, allocations: 4 kB / 433.1 MB, free: 4.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001124/0.5667, allocations: 321.6 kB / 433.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.5668, allocations: 29.7 kB / 433.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5668, allocations: 4 kB / 433.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.5671, allocations: 58.95 kB / 433.5 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.5675, allocations: 51.97 kB / 433.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.5698, allocations: 1.517 MB / 435.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.5705, allocations: 63.34 kB / 435.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.5706, allocations: 10.94 kB / 435.2 MB, free: 2.516 MB / 346.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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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: 1 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.5707, allocations: 123.2 kB / 435.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.5708, allocations: 27.72 kB / 435.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.5709, allocations: 23.89 kB / 435.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5709, allocations: 4 kB / 435.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5709, allocations: 0 / 435.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5709, allocations: 3.984 kB / 435.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.5713, allocations: 305.8 kB / 435.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.5714, allocations: 0 / 435.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.5716, allocations: 27.91 kB / 435.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.5718, allocations: 61.64 kB / 435.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.5719, allocations: 0 / 435.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.574, allocations: 1.504 MB / 437.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.574, allocations: 0 / 437.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.5749, allocations: 229.6 kB / 437.5 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.5751, allocations: 119 kB / 437.6 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.5752, allocations: 15.89 kB / 437.6 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.5757, allocations: 31.41 kB / 437.6 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5758, allocations: 27.89 kB / 437.6 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.5759, allocations: 0 / 437.6 MB, free: 60 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003116/0.5762, allocations: 204.8 kB / 437.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.545e-06/0.5762, allocations: 0 / 437.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005444/0.5768, allocations: 86.47 kB / 437.9 MB, free: 15.82 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/0.578, allocations: 0.7657 MB / 438.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007504/0.5788, allocations: 322.7 kB / 439 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5788, allocations: 0 / 439 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.5792, allocations: 176.8 kB / 439.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.5796, allocations: 35.31 kB / 439.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.5808, allocations: 365.4 kB / 439.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.5812, allocations: 0.7599 MB / 440.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.5814, allocations: 75.91 kB / 440.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5814, allocations: 0 / 440.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.518/3.099, allocations: 5.368 MB / 445.8 MB, free: 8.094 MB / 362.7 MB