Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.34/2.34, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.065e-05/6.068e-05, allocations: 8 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.5823, allocations: 79.33 MB / 414.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.5826, allocations: 57.97 kB / 414.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01051/0.5931, allocations: 2.094 MB / 416.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5931, allocations: 0 / 416.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.5932, allocations: 4 kB / 416.3 MB, free: 12.73 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.0009037/0.5941, allocations: 447.9 kB / 416.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5941, allocations: 8.031 kB / 416.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.038e-05/0.5942, allocations: 46.42 kB / 416.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.5943, allocations: 15.81 kB / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.5946, allocations: 206.6 kB / 417 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.5946, allocations: 11.89 kB / 417 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.5947, allocations: 8 kB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.5954, allocations: 230.6 kB / 417.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5954, allocations: 4 kB / 417.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.5954, allocations: 3.984 kB / 417.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.5955, allocations: 4 kB / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.5957, allocations: 70.53 kB / 417.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.5965, allocations: 360.2 kB / 417.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.5969, allocations: 168.4 kB / 417.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.5972, allocations: 78.69 kB / 417.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.5972, allocations: 11.88 kB / 417.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.5975, allocations: 99.44 kB / 418 MB, free: 11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.286e-06/0.5975, allocations: 0 / 418 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.000628/0.5981, allocations: 221.9 kB / 418.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/0.5982, allocations: 92.16 kB / 418.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.5984, allocations: 135.8 kB / 418.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.5985, allocations: 33.08 kB / 418.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.5986, allocations: 101.9 kB / 418.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.5986, allocations: 37.39 kB / 418.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.5987, allocations: 11.75 kB / 418.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.5989, allocations: 333.8 kB / 419 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.599, allocations: 38.95 kB / 419 MB, free: 10.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.5992, allocations: 140.2 kB / 419.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.5994, allocations: 73.89 kB / 419.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5994, allocations: 0 / 419.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000509/0.6, allocations: 209 kB / 419.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6, allocations: 4 kB / 419.4 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.6, allocations: 8 kB / 419.4 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.6001, allocations: 8.531 kB / 419.4 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.6003, allocations: 43.34 kB / 419.5 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.6004, allocations: 8 kB / 419.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.6005, allocations: 15.22 kB / 419.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.6006, allocations: 8 kB / 419.5 MB, free: 9.566 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.0002313/0.6008, allocations: 141 kB / 419.6 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.601, allocations: 95.72 kB / 419.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.6011, allocations: 15.19 kB / 419.7 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.6011, allocations: 8 kB / 419.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6011, allocations: 0 / 419.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6011, allocations: 3.984 kB / 419.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008479/0.602, allocations: 476.5 kB / 420.2 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.602, allocations: 4 kB / 420.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.6022, allocations: 15.98 kB / 420.2 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.6022, allocations: 4 kB / 420.2 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.6023, allocations: 6.984 kB / 420.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.6023, allocations: 4 kB / 420.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6023, allocations: 4 kB / 420.3 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006481/0.6029, allocations: 338.6 kB / 420.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.603, allocations: 92.86 kB / 420.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.6031, allocations: 11.3 kB / 420.7 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.6033, allocations: 19.86 kB / 420.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.6034, allocations: 7.984 kB / 420.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.6034, allocations: 7.938 kB / 420.7 MB, free: 8.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.6036, allocations: 120.1 kB / 420.8 MB, free: 8.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6036, allocations: 3.938 kB / 420.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.604, allocations: 33.48 kB / 420.9 MB, free: 8.23 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.001242/0.6053, allocations: 1.033 MB / 421.9 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.6057, allocations: 139.6 kB / 422 MB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6058, allocations: 1.125 kB / 422.1 MB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.6059, allocations: 47.69 kB / 422.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.6063, allocations: 57.52 kB / 422.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.6074, allocations: 274 kB / 422.4 MB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.6078, allocations: 0.7278 MB / 423.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.6079, allocations: 17.2 kB / 423.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.608, allocations: 41.17 kB / 423.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.608, allocations: 0 / 423.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.6359, allocations: 2.759 MB / 426 MB, free: 3.297 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003509/0.6363, allocations: 178.8 kB / 426.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.952, allocations: 4.062 kB / 426.1 MB, free: 3.062 MB / 346.7 MB