Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.112/2.112, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.935e-05, allocations: 9.406 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.5978, allocations: 76.79 MB / 420 MB, free: 1.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5982, allocations: 76.89 kB / 420 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005047/0.6032, allocations: 1.303 MB / 421.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6033, allocations: 0 / 421.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.6033, allocations: 9.031 kB / 421.3 MB, free: 15.82 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003995/0.6037, allocations: 348.2 kB / 421.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6038, allocations: 12.03 kB / 421.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.6038, allocations: 37.38 kB / 421.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.6039, allocations: 15.48 kB / 421.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.6041, allocations: 194.8 kB / 421.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.6042, allocations: 3.375 kB / 421.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.6042, allocations: 4 kB / 421.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.6046, allocations: 131.7 kB / 422.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6046, allocations: 0 / 422.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.6046, allocations: 3.953 kB / 422.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.6046, allocations: 4 kB / 422.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.6047, allocations: 23.8 kB / 422.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.6049, allocations: 175.5 kB / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.6051, allocations: 69.59 kB / 422.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.6052, allocations: 50.39 kB / 422.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.6053, allocations: 0 / 422.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.6053, allocations: 34.56 kB / 422.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.497e-06/0.6053, allocations: 3.984 kB / 422.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002279/0.6056, allocations: 78.34 kB / 422.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.6056, allocations: 59.91 kB / 422.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.6058, allocations: 130 kB / 422.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.6058, allocations: 33.64 kB / 422.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.6059, allocations: 83.58 kB / 422.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.6059, allocations: 7.312 kB / 422.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.6059, allocations: 0 / 422.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6061, allocations: 318.2 kB / 423.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.6061, allocations: 11.38 kB / 423.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.6062, allocations: 54.12 kB / 423.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.807e-05/0.6063, allocations: 23.42 kB / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6063, allocations: 0 / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001856/0.6065, allocations: 91.7 kB / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6065, allocations: 10.81 kB / 423.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6065, allocations: 0 / 423.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.6066, allocations: 4 kB / 423.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.6067, allocations: 12 kB / 423.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.6067, allocations: 7.938 kB / 423.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.6068, allocations: 16.05 kB / 423.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.6068, allocations: 8 kB / 423.4 MB, free: 13.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001101/0.6069, allocations: 116.2 kB / 423.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.6071, allocations: 81.73 kB / 423.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.6072, allocations: 15.44 kB / 423.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6072, allocations: 0 / 423.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6072, allocations: 0 / 423.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.6072, allocations: 3.984 kB / 423.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.6074, allocations: 174.4 kB / 423.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6074, allocations: 0 / 423.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.6075, allocations: 27.92 kB / 423.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6076, allocations: 0 / 423.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.6076, allocations: 0 / 423.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6076, allocations: 0 / 423.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6076, allocations: 0 / 423.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.6078, allocations: 106 kB / 423.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.6079, allocations: 99.81 kB / 424 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.608, allocations: 3.25 kB / 424 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.608, allocations: 4 kB / 424 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-06/0.608, allocations: 4 kB / 424 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.608, allocations: 0 / 424 MB, free: 13.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.6082, allocations: 109.1 kB / 424.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6082, allocations: 192 / 424.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.6085, allocations: 4 kB / 424.1 MB, free: 12.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0006702/0.6091, allocations: 0.6888 MB / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.6093, allocations: 42.88 kB / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6093, allocations: 0 / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.6093, allocations: 0 / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.6097, allocations: 43.58 kB / 424.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.6102, allocations: 158.1 kB / 425 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.6105, allocations: 0.7043 MB / 425.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.6106, allocations: 4.672 kB / 425.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.6106, allocations: 18.81 kB / 425.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6107, allocations: 3.938 kB / 425.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.6336, allocations: 1.53 MB / 427.3 MB, free: 9.789 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004684/0.6342, allocations: 179.1 kB / 427.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.071, allocations: 4 kB / 427.5 MB, free: 9.555 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat