Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.153/2.153, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.126e-05, allocations: 4 kB / 284.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 50.37 MB / 334.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.5537, allocations: 79.36 MB / 414.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.5539, allocations: 56.97 kB / 414.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009854/0.5638, allocations: 2.093 MB / 416.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5639, allocations: 4 kB / 416.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.5639, allocations: 4 kB / 416.3 MB, free: 13 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008526/0.5648, allocations: 434.9 kB / 416.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5648, allocations: 11.97 kB / 416.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.5649, allocations: 45.31 kB / 416.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.565, allocations: 19.8 kB / 416.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5653, allocations: 205.2 kB / 417 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.5653, allocations: 15.19 kB / 417 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.5653, allocations: 8 kB / 417 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.566, allocations: 235.4 kB / 417.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.566, allocations: 0 / 417.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.566, allocations: 0 / 417.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.566, allocations: 4 kB / 417.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.5663, allocations: 64.59 kB / 417.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.567, allocations: 362.2 kB / 417.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.5674, allocations: 169.6 kB / 417.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.5676, allocations: 77.14 kB / 417.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.5677, allocations: 11.88 kB / 417.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.5679, allocations: 109 kB / 418 MB, free: 11.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.816e-06/0.5679, allocations: 0 / 418 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005939/0.5685, allocations: 215.5 kB / 418.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.5687, allocations: 88.8 kB / 418.3 MB, free: 11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.5688, allocations: 136.6 kB / 418.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.5689, allocations: 35.89 kB / 418.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.569, allocations: 161.5 kB / 418.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.5691, allocations: 48.25 kB / 418.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.5691, allocations: 3.719 kB / 418.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5692, allocations: 326 kB / 419 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.5694, allocations: 41.22 kB / 419.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.5696, allocations: 144 kB / 419.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.5698, allocations: 64.91 kB / 419.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5698, allocations: 4 kB / 419.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004789/0.5703, allocations: 206 kB / 419.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5703, allocations: 4 kB / 419.5 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5703, allocations: 4.531 kB / 419.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.5704, allocations: 12 kB / 419.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.5707, allocations: 31.92 kB / 419.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.5707, allocations: 8 kB / 419.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.5709, allocations: 21.39 kB / 419.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.5709, allocations: 8 kB / 419.5 MB, free: 9.801 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(fixed = false ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.transferFunction2.firstTrigger,transferFunction2.firstTrigger,$PRE.transferFunction2.x1,transferFunction2.x1,$PRE.transferFunction2.xext[1],transferFunction2.xext[1],$PRE.transferFunction2.xext[2],transferFunction2.xext[2],$PRE.transferFunction2.x[1],transferFunction2.x[1],$PRE.transferFunction2.y,transferFunction2.y,$PRE.sampler.firstTrigger,sampler.firstTrigger,$whenCondition1,sampler.sampleTrigger,$whenCondition2,transferFunction2.sampleTrigger,sampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.5711, allocations: 139.9 kB / 419.7 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.5713, allocations: 90.73 kB / 419.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.433e-05/0.5714, allocations: 23.23 kB / 419.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.5714, allocations: 4 kB / 419.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5714, allocations: 0 / 419.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5714, allocations: 0 / 419.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008305/0.5723, allocations: 482 kB / 420.3 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.5723, allocations: 0 / 420.3 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.5725, allocations: 15.98 kB / 420.3 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.5725, allocations: 4 kB / 420.3 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.5725, allocations: 7.188 kB / 420.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.5725, allocations: 4 kB / 420.3 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5726, allocations: 0 / 420.3 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/0.5732, allocations: 341.1 kB / 420.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.5732, allocations: 92.86 kB / 420.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.5733, allocations: 11.73 kB / 420.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.5735, allocations: 15.98 kB / 420.8 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.5736, allocations: 7.938 kB / 420.8 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.5736, allocations: 11.92 kB / 420.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.5738, allocations: 117.1 kB / 420.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.555e-06/0.5738, allocations: 0 / 420.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004446/0.5742, allocations: 34.06 kB / 420.9 MB, free: 8.477 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (transferFunction2.sampleTrigger,sampler.sampleTrigger,$whenCondition2,$whenCondition1,sampler.firstTrigger,sampler.y,transferFunction2.firstTrigger,transferFunction2.y,transferFunction2.x[1],transferFunction2.x1,transferFunction2.xext[1],transferFunction2.xext[2]) * Number of discrete states: 1 (transferFunction2.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001243/0.5755, allocations: 1.042 MB / 422 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.5759, allocations: 135.5 kB / 422.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5759, allocations: 0 / 422.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.5761, allocations: 51.67 kB / 422.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.5765, allocations: 48.41 kB / 422.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5776, allocations: 314.1 kB / 422.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.578, allocations: 0.7244 MB / 423.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.5781, allocations: 38.36 kB / 423.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5781, allocations: 4 kB / 423.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.364/2.942, allocations: 2.439 MB / 425.7 MB, free: 3.793 MB / 346.7 MB