Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.078/2.078, allocations: 218.4 MB / 231.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.796e-05, allocations: 4 kB / 284.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 50.36 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5447, allocations: 78.55 MB / 413.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.5449, allocations: 58.72 kB / 413.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005272/0.5502, allocations: 1.293 MB / 414.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5503, allocations: 0 / 414.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.5503, allocations: 4 kB / 414.7 MB, free: 14.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005392/0.5508, allocations: 364.9 kB / 415 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5509, allocations: 8.031 kB / 415 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.551, allocations: 42.42 kB / 415.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.551, allocations: 7.906 kB / 415.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.5513, allocations: 185.7 kB / 415.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.5513, allocations: 3.953 kB / 415.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.5513, allocations: 11.25 kB / 415.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.5517, allocations: 131.1 kB / 415.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5517, allocations: 0 / 415.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5517, allocations: 4 kB / 415.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5517, allocations: 4 kB / 415.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.5519, allocations: 26.06 kB / 415.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.5524, allocations: 291.3 kB / 415.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.5527, allocations: 158.8 kB / 415.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.5528, allocations: 36.03 kB / 415.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.5528, allocations: 7.812 kB / 415.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.553, allocations: 65.23 kB / 416 MB, free: 13.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/0.553, allocations: 3.938 kB / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002804/0.5533, allocations: 86.39 kB / 416.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.5534, allocations: 88.17 kB / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.5535, allocations: 115.1 kB / 416.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.5536, allocations: 28.77 kB / 416.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.5537, allocations: 158.1 kB / 416.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.5537, allocations: 26.55 kB / 416.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.5537, allocations: 0 / 416.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5539, allocations: 325.8 kB / 416.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.5539, allocations: 18.31 kB / 416.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.76e-05/0.5541, allocations: 68.08 kB / 416.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.5541, allocations: 22.23 kB / 416.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5542, allocations: 4 kB / 416.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002505/0.5544, allocations: 106.3 kB / 417 MB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5545, allocations: 4 kB / 417 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.5545, allocations: 7.984 kB / 417 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5545, allocations: 0 / 417 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.5546, allocations: 11.94 kB / 417 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5546, allocations: 3.984 kB / 417 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.5548, allocations: 19.69 kB / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.5548, allocations: 4 kB / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001036/0.5549, allocations: 119.3 kB / 417.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.555, allocations: 52.94 kB / 417.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.5551, allocations: 7.688 kB / 417.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.5551, allocations: 4 kB / 417.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5551, allocations: 0 / 417.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5551, allocations: 3.984 kB / 417.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.5556, allocations: 347.3 kB / 417.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5556, allocations: 0 / 417.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.5556, allocations: 3.938 kB / 417.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.5557, allocations: 4 kB / 417.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.5557, allocations: 7.547 kB / 417.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5557, allocations: 0 / 417.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5557, allocations: 0 / 417.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.556, allocations: 210.9 kB / 417.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.5561, allocations: 85.02 kB / 417.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.5561, allocations: 3.312 kB / 417.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.5563, allocations: 12.05 kB / 417.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.5563, allocations: 7.953 kB / 417.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.5564, allocations: 15.23 kB / 417.9 MB, free: 11.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.5564, allocations: 90.84 kB / 418 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5564, allocations: 4 kB / 418 MB, free: 10.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003529/0.5568, allocations: 15.12 kB / 418 MB, free: 10.96 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: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007475/0.5576, allocations: 0.8343 MB / 418.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.5578, allocations: 68.55 kB / 418.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5578, allocations: 0 / 418.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.5579, allocations: 22.62 kB / 419 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.5583, allocations: 23.28 kB / 419 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.5589, allocations: 183.5 kB / 419.2 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.5592, allocations: 0.7007 MB / 419.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.5593, allocations: 25.36 kB / 419.9 MB, free: 9.082 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5593, allocations: 4 kB / 419.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.349/2.908, allocations: 1.392 MB / 421.3 MB, free: 7.695 MB / 346.7 MB