Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.072e-05, allocations: 4 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4227/0.529, allocations: 78.08 MB / 420.7 MB, free: 60 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.5293, allocations: 65.59 kB / 420.8 MB, free: 28 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01719/0.5465, allocations: 3.75 MB / 424.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5466, allocations: 0 / 424.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.5466, allocations: 4 kB / 424.5 MB, free: 12.89 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.003314/0.5499, allocations: 0.6355 MB / 425.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.55, allocations: 8.031 kB / 425.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.42e-05/0.5501, allocations: 53.06 kB / 425.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.5502, allocations: 15.81 kB / 425.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.5504, allocations: 198.1 kB / 425.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.5504, allocations: 7.609 kB / 425.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.5505, allocations: 11.44 kB / 425.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.5509, allocations: 162.7 kB / 425.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.551, allocations: 3.953 kB / 425.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.551, allocations: 4 kB / 425.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.551, allocations: 7.188 kB / 425.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.5515, allocations: 171.2 kB / 425.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.5529, allocations: 0.544 MB / 426.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.5534, allocations: 170.6 kB / 426.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.5537, allocations: 89.83 kB / 426.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.5537, allocations: 0 / 426.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.5538, allocations: 33.56 kB / 426.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.405e-06/0.5538, allocations: 0 / 426.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005692/0.5544, allocations: 179 kB / 426.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.5544, allocations: 55.41 kB / 426.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.5547, allocations: 175 kB / 427 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.5547, allocations: 28.95 kB / 427 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.5548, allocations: 175.5 kB / 427.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.5549, allocations: 53.84 kB / 427.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.5549, allocations: 3.938 kB / 427.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.555, allocations: 314.8 kB / 427.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.5552, allocations: 56.67 kB / 427.6 MB, free: 9.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.5554, allocations: 88.84 kB / 427.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.5557, allocations: 73.27 kB / 427.8 MB, free: 9.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5557, allocations: 0 / 427.8 MB, free: 9.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000514/0.5562, allocations: 195.1 kB / 428 MB, free: 9.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5562, allocations: 8 kB / 428 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5563, allocations: 0 / 428 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5563, allocations: 0 / 428 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.5568, allocations: 44 kB / 428 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.5568, allocations: 11.94 kB / 428 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.5571, allocations: 15.84 kB / 428.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.5571, allocations: 11.67 kB / 428.1 MB, free: 9.629 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.5572, allocations: 108.7 kB / 428.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.5573, allocations: 15.75 kB / 428.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/0.558, allocations: 243.8 kB / 428.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.558, allocations: 0 / 428.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.558, allocations: 3.984 kB / 428.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.558, allocations: 0 / 428.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.5585, allocations: 286.6 kB / 428.7 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5586, allocations: 0 / 428.7 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.559, allocations: 39.97 kB / 428.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.559, allocations: 3.984 kB / 428.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.5591, allocations: 0 / 428.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.5591, allocations: 15.94 kB / 428.8 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5591, allocations: 0 / 428.8 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.5597, allocations: 311.6 kB / 429.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.5598, allocations: 104.3 kB / 429.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.5598, allocations: 0 / 429.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.5601, allocations: 11.81 kB / 429.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.5602, allocations: 19.91 kB / 429.2 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.5603, allocations: 11.88 kB / 429.2 MB, free: 8.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.5604, allocations: 135.4 kB / 429.3 MB, free: 8.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5605, allocations: 0 / 429.3 MB, free: 8.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.5609, allocations: 37.94 kB / 429.4 MB, free: 8.414 MB / 346.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009338/0.5618, allocations: 0.8543 MB / 430.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.5623, allocations: 160.9 kB / 430.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5623, allocations: 0 / 430.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.5626, allocations: 92.09 kB / 430.5 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.5629, allocations: 11.58 kB / 430.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5639, allocations: 333.5 kB / 430.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.5643, allocations: 0.7349 MB / 431.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.5644, allocations: 49.22 kB / 431.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5645, allocations: 0 / 431.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.503/3.068, allocations: 2.78 MB / 434.4 MB, free: 3.562 MB / 346.7 MB