Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.188/2.188, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.854e-05, allocations: 3.938 kB / 284.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1457, allocations: 50.35 MB / 334.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.6312, allocations: 78.35 MB / 413.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003786/0.6317, allocations: 82.95 kB / 413.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007403/0.6391, allocations: 1.336 MB / 414.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6392, allocations: 3.938 kB / 414.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.6392, allocations: 4 kB / 414.6 MB, free: 14.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000564/0.6398, allocations: 347.5 kB / 414.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.6399, allocations: 8.031 kB / 414.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.6399, allocations: 42.38 kB / 415 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.64, allocations: 7.906 kB / 415 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.6403, allocations: 198.1 kB / 415.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.6404, allocations: 3.953 kB / 415.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.6404, allocations: 4 kB / 415.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.6407, allocations: 80.19 kB / 415.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6408, allocations: 0 / 415.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.6408, allocations: 7.938 kB / 415.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6408, allocations: 0 / 415.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.418e-05/0.6409, allocations: 11.48 kB / 415.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.6415, allocations: 272.8 kB / 415.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.6416, allocations: 37.09 kB / 415.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.6417, allocations: 18.34 kB / 415.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.6417, allocations: 0 / 415.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6418, allocations: 38.56 kB / 415.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.374e-06/0.6418, allocations: 0 / 415.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002501/0.6421, allocations: 51.47 kB / 415.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.6422, allocations: 81.11 kB / 415.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.6424, allocations: 122.9 kB / 415.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.6424, allocations: 25.7 kB / 415.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.6425, allocations: 87.45 kB / 416 MB, free: 13.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.6425, allocations: 3.969 kB / 416 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.6426, allocations: 4 kB / 416 MB, free: 13.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6428, allocations: 321.8 kB / 416.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.6428, allocations: 4 kB / 416.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.706e-05/0.6429, allocations: 17.22 kB / 416.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.6429, allocations: 4 kB / 416.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6429, allocations: 0 / 416.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001634/0.6431, allocations: 53.44 kB / 416.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.6432, allocations: 4 kB / 416.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6432, allocations: 0 / 416.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6432, allocations: 0 / 416.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.6434, allocations: 11.94 kB / 416.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.6435, allocations: 3.984 kB / 416.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.6436, allocations: 4 kB / 416.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.6436, allocations: 3.938 kB / 416.4 MB, free: 12.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.00011/0.6437, allocations: 112.8 kB / 416.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.6438, allocations: 45.48 kB / 416.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.6439, allocations: 11.64 kB / 416.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6439, allocations: 0 / 416.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.644, allocations: 0 / 416.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.644, allocations: 0 / 416.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.6443, allocations: 169 kB / 416.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.6443, allocations: 4 kB / 416.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6444, allocations: 4 kB / 416.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.6445, allocations: 4.031 kB / 416.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.6445, allocations: 0 / 416.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.6445, allocations: 4 kB / 416.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.6445, allocations: 3.984 kB / 416.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.6448, allocations: 160.8 kB / 416.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.6449, allocations: 96.31 kB / 417 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.645, allocations: 4.031 kB / 417 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.6452, allocations: 7.984 kB / 417 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.6452, allocations: 4 kB / 417 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.6452, allocations: 0 / 417 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.6454, allocations: 108 kB / 417.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6454, allocations: 0 / 417.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004947/0.6459, allocations: 4 kB / 417.1 MB, free: 11.92 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0007377/0.6467, allocations: 0.7625 MB / 417.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.6468, allocations: 15.38 kB / 417.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6469, allocations: 0 / 417.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.6469, allocations: 4.156 kB / 417.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.6474, allocations: 18.89 kB / 417.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.6481, allocations: 124 kB / 418.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.6485, allocations: 0.6926 MB / 418.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.378e-05/0.6486, allocations: 11.98 kB / 418.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.6487, allocations: 11.06 kB / 418.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6487, allocations: 0 / 418.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.673, allocations: 1.209 MB / 420 MB, free: 9.051 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/0.6733, allocations: 174.7 kB / 420.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.121, allocations: 4 kB / 420.2 MB, free: 8.824 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat