Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.444/2.444, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.952e-05, allocations: 7.984 kB / 284.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 50.36 MB / 334.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5067/0.6275, allocations: 77.87 MB / 412.7 MB, free: 404 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004313/0.628, allocations: 82.31 kB / 412.7 MB, free: 356 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005973/0.634, allocations: 1.104 MB / 413.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6341, allocations: 0 / 413.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.6341, allocations: 3.875 kB / 413.9 MB, free: 15.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005955/0.6347, allocations: 356.8 kB / 414.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.6348, allocations: 8.031 kB / 414.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.6349, allocations: 38.5 kB / 414.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.635, allocations: 11.89 kB / 414.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.6353, allocations: 190 kB / 414.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.6353, allocations: 7.766 kB / 414.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.6354, allocations: 4 kB / 414.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.6358, allocations: 103.8 kB / 414.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6358, allocations: 4 kB / 414.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.6359, allocations: 0 / 414.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.6359, allocations: 3.938 kB / 414.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.426e-05/0.636, allocations: 11 kB / 414.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.6366, allocations: 275 kB / 414.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.6369, allocations: 129.8 kB / 415 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.637, allocations: 24.84 kB / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.6371, allocations: 4 kB / 415 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.6371, allocations: 34.56 kB / 415 MB, free: 14.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.946e-06/0.6371, allocations: 0 / 415 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002743/0.6374, allocations: 57.19 kB / 415.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.6375, allocations: 80.55 kB / 415.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.6378, allocations: 123.8 kB / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.6378, allocations: 25.7 kB / 415.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.6379, allocations: 99.95 kB / 415.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.6379, allocations: 0 / 415.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.638, allocations: 0 / 415.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6381, allocations: 318.4 kB / 415.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.6382, allocations: 4 kB / 415.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.6383, allocations: 31.17 kB / 415.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.6383, allocations: 8 kB / 415.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6384, allocations: 0 / 415.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001825/0.6385, allocations: 57.25 kB / 415.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.6386, allocations: 8 kB / 415.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6386, allocations: 0 / 415.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6386, allocations: 0 / 415.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.6388, allocations: 16.12 kB / 415.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.6389, allocations: 0 / 415.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-05/0.639, allocations: 11.89 kB / 415.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.639, allocations: 0 / 415.9 MB, free: 13.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000121/0.6391, allocations: 116.8 kB / 416 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.6393, allocations: 41.08 kB / 416 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.6394, allocations: 11.27 kB / 416 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6394, allocations: 7.938 kB / 416 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.6394, allocations: 4 kB / 416 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6394, allocations: 192 / 416 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.6398, allocations: 168.5 kB / 416.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6398, allocations: 0 / 416.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.64, allocations: 8 kB / 416.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.64, allocations: 11.98 kB / 416.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.64, allocations: 3.938 kB / 416.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.6401, allocations: 0 / 416.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6401, allocations: 3.984 kB / 416.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.6403, allocations: 176.2 kB / 416.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6405, allocations: 92.94 kB / 416.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.6405, allocations: 3.438 kB / 416.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.6407, allocations: 4 kB / 416.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.6408, allocations: 3.938 kB / 416.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.6408, allocations: 4 kB / 416.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.641, allocations: 101 kB / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.641, allocations: 4 kB / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005671/0.6416, allocations: 7.875 kB / 416.6 MB, free: 12.33 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: 4 (sample.u,assignClock.u,assignClock.y,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0007704/0.6424, allocations: 0.769 MB / 417.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.6426, allocations: 22.98 kB / 417.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6426, allocations: 0 / 417.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.6426, allocations: 4 kB / 417.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.6431, allocations: 18.91 kB / 417.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.6439, allocations: 130 kB / 417.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.6444, allocations: 0.692 MB / 418.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.587e-05/0.6445, allocations: 12 kB / 418.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.6446, allocations: 15.12 kB / 418.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6446, allocations: 4 kB / 418.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.6683, allocations: 1.208 MB / 419.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/0.6687, allocations: 171.7 kB / 419.7 MB, free: 9.234 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.085, allocations: 0 / 419.7 MB, free: 9.234 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat does not exist to compare? outputFormat=mat