Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") Notification: Performance of loadModel(Modelica_Synchronous): time 2.483/2.483, allocations: 218.4 MB / 234.2 MB, free: 5.582 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.244e-05, allocations: 4 kB / 287.6 MB, free: 68 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3616, allocations: 50.36 MB / 338 MB, free: 4 kB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.002957/0.3647, allocations: 1.395 MB / 339.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3662, allocations: 0.5038 MB / 339.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3663, allocations: 7.938 kB / 339.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.605e-05/0.3664, allocations: 11.86 kB / 339.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.3666, allocations: 19.95 kB / 339.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.3671, allocations: 67.86 kB / 340 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3673, allocations: 63.84 kB / 340 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3674, allocations: 15.98 kB / 340 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.3676, allocations: 39.92 kB / 340.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.3678, allocations: 67.73 kB / 340.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.3679, allocations: 4 kB / 340.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.3679, allocations: 8 kB / 340.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.368, allocations: 35.89 kB / 340.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.3681, allocations: 8 kB / 340.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.3683, allocations: 89.66 kB / 340.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3683, allocations: 3.938 kB / 340.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3683, allocations: 0 / 340.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3683, allocations: 0 / 340.3 MB, free: 13.64 MB / 282.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.001106/0.3695, allocations: 423.2 kB / 340.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3695, allocations: 8.031 kB / 340.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.3696, allocations: 15.81 kB / 340.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.3699, allocations: 222.7 kB / 340.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.37, allocations: 8.188 kB / 341 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.37, allocations: 12 kB / 341 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.3708, allocations: 257.6 kB / 341.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3708, allocations: 0 / 341.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3709, allocations: 11.94 kB / 341.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.3709, allocations: 4 kB / 341.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.3713, allocations: 87.94 kB / 341.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.3721, allocations: 361.4 kB / 341.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.3727, allocations: 173.2 kB / 341.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.3727, allocations: 4 kB / 341.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.3731, allocations: 115.3 kB / 342 MB, free: 11.79 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.885e-06/0.3731, allocations: 0 / 342 MB, free: 11.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001133/0.3742, allocations: 402.7 kB / 342.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.3744, allocations: 89.05 kB / 342.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3746, allocations: 145.2 kB / 342.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3746, allocations: 37.69 kB / 342.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3747, allocations: 170.5 kB / 342.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.3748, allocations: 31.61 kB / 342.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.3748, allocations: 4 kB / 342.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.375, allocations: 322.8 kB / 343.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.3752, allocations: 48.44 kB / 343.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.3755, allocations: 155.5 kB / 343.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3758, allocations: 83.84 kB / 343.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3758, allocations: 0 / 343.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006375/0.3764, allocations: 225.5 kB / 343.6 MB, free: 9.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.3765, allocations: 8 kB / 343.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3765, allocations: 7.938 kB / 343.6 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.3766, allocations: 11.98 kB / 343.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.3768, allocations: 31.92 kB / 343.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.3768, allocations: 7.938 kB / 343.7 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.377, allocations: 15.91 kB / 343.7 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.377, allocations: 16.25 kB / 343.7 MB, free: 9.887 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(flow=false fixed = true ) "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[2],transferFunction2.xext[2],$PRE.transferFunction2.xext[1],transferFunction2.xext[1],$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.0002898/0.3773, allocations: 159.9 kB / 343.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.3776, allocations: 105.8 kB / 344 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.3778, allocations: 36.81 kB / 344 MB, free: 9.574 MB / 282.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.