Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.216/2.216, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.169e-05, allocations: 4 kB / 284.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5538, allocations: 80.72 MB / 415.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003899/0.5542, allocations: 78.45 kB / 415.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.5719, allocations: 2.929 MB / 418.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.572, allocations: 0 / 418.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.572, allocations: 4 kB / 418.5 MB, free: 10.91 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001343/0.5734, allocations: 0.4991 MB / 419 MB, free: 10.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.5734, allocations: 11.97 kB / 419 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.864e-05/0.5736, allocations: 52.73 kB / 419.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.5737, allocations: 19.8 kB / 419.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.5742, allocations: 228.9 kB / 419.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.496e-05/0.5743, allocations: 48.55 kB / 419.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.5744, allocations: 11.31 kB / 419.4 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009724/0.5754, allocations: 301.5 kB / 419.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5754, allocations: 4 kB / 419.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.5755, allocations: 6.875 kB / 419.7 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5755, allocations: 7.938 kB / 419.7 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.5759, allocations: 94.41 kB / 419.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.5773, allocations: 480.7 kB / 420.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.5778, allocations: 163.7 kB / 420.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.5781, allocations: 88.7 kB / 420.5 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.5782, allocations: 6.578 kB / 420.5 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.5785, allocations: 99.25 kB / 420.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.958e-06/0.5786, allocations: 192 / 420.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.003109/0.5817, allocations: 175.1 kB / 420.8 MB, free: 8.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.5818, allocations: 91.05 kB / 420.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.5821, allocations: 134.3 kB / 421 MB, free: 8.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.5821, allocations: 29.08 kB / 421 MB, free: 8.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5823, allocations: 180.8 kB / 421.2 MB, free: 8.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.5824, allocations: 38.17 kB / 421.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.5824, allocations: 3.312 kB / 421.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5826, allocations: 326.1 kB / 421.5 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.5828, allocations: 38.98 kB / 421.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.5831, allocations: 129.1 kB / 421.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.5833, allocations: 82.62 kB / 421.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5834, allocations: 4 kB / 421.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006973/0.5841, allocations: 218.6 kB / 422 MB, free: 7.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.5842, allocations: 43.16 kB / 422 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5842, allocations: 4 kB / 422 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.5842, allocations: 7.984 kB / 422.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.5847, allocations: 48.25 kB / 422.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.5847, allocations: 4 kB / 422.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.5852, allocations: 35.08 kB / 422.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.5852, allocations: 11.19 kB / 422.2 MB, free: 7.402 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 (rotationalClock.changed.y,rotationalClock.changed.u,$CLKPRE.rotationalClock.changed.u,rotationalClock.cast.y,rotationalClock.direction_changed,rotationalClock.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotationalClock.less.y,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001834/0.5854, allocations: 123.3 kB / 422.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.5858, allocations: 105.2 kB / 422.4 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.015e-05/0.5859, allocations: 26.45 kB / 422.4 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.5859, allocations: 4 kB / 422.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5859, allocations: 7.922 kB / 422.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5859, allocations: 0 / 422.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/0.5926, allocations: 459.3 kB / 422.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.5927, allocations: 3.953 kB / 422.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.5932, allocations: 43.97 kB / 422.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.5932, allocations: 3.938 kB / 422.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.5932, allocations: 11.36 kB / 422.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5933, allocations: 0 / 422.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5933, allocations: 3.984 kB / 422.9 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/0.594, allocations: 299.8 kB / 423.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.5941, allocations: 96.17 kB / 423.3 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.5942, allocations: 7.375 kB / 423.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.5946, allocations: 27.34 kB / 423.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5947, allocations: 7.984 kB / 423.4 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.5948, allocations: 15.3 kB / 423.4 MB, free: 6.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.595, allocations: 110 kB / 423.5 MB, free: 6.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.595, allocations: 0 / 423.5 MB, free: 6.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006654/0.5957, allocations: 46.62 kB / 423.5 MB, free: 6.082 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: 10 (rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2) * Number of discrete states: 1 (trigger_interval_input.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.001503/0.5972, allocations: 0.9825 MB / 424.5 MB, free: 5.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006505/0.5979, allocations: 199 kB / 424.7 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5979, allocations: 0 / 424.7 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.5981, allocations: 43 kB / 424.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.5987, allocations: 62.95 kB / 424.8 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.6066, allocations: 300.6 kB / 425.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.6071, allocations: 0.7369 MB / 425.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.6073, allocations: 49.78 kB / 425.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6073, allocations: 0 / 425.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.531/3.138, allocations: 2.779 MB / 428.7 MB, free: 1.078 MB / 346.7 MB