Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.189/2.189, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.445e-05/4.45e-05, allocations: 4 kB / 284.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 50.36 MB / 334.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.6001, allocations: 78.65 MB / 413.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.6004, allocations: 76.64 kB / 413.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006401/0.6068, allocations: 1.552 MB / 415.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6069, allocations: 0 / 415.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.6069, allocations: 0 / 415.1 MB, free: 13.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004711/0.6074, allocations: 369.3 kB / 415.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6074, allocations: 8.031 kB / 415.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.6075, allocations: 38.38 kB / 415.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.6075, allocations: 11.91 kB / 415.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.6078, allocations: 198.5 kB / 415.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.6078, allocations: 3.953 kB / 415.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.6079, allocations: 4 kB / 415.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.6082, allocations: 119.7 kB / 415.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6082, allocations: 0 / 415.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.6082, allocations: 10.06 kB / 415.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.6083, allocations: 0 / 415.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.6083, allocations: 20.67 kB / 415.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.6089, allocations: 377.2 kB / 416.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.609, allocations: 82.88 kB / 416.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.6091, allocations: 38 kB / 416.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.6092, allocations: 7.984 kB / 416.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.6092, allocations: 37.62 kB / 416.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.6092, allocations: 0 / 416.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002609/0.6095, allocations: 68.41 kB / 416.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.6096, allocations: 144.1 kB / 416.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.6098, allocations: 131.5 kB / 416.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.6098, allocations: 29.64 kB / 416.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.6099, allocations: 88.02 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.6099, allocations: 7.281 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.6099, allocations: 0 / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6101, allocations: 326.2 kB / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.6102, allocations: 7.312 kB / 417.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.6103, allocations: 39.48 kB / 417.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.6103, allocations: 19.3 kB / 417.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6103, allocations: 0 / 417.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001682/0.6105, allocations: 72.03 kB / 417.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6106, allocations: 4 kB / 417.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6106, allocations: 8 kB / 417.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6106, allocations: 3.984 kB / 417.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6107, allocations: 15.98 kB / 417.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.6108, allocations: 0 / 417.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.6109, allocations: 4 kB / 417.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.6109, allocations: 4 kB / 417.3 MB, free: 11.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.959e-05/0.611, allocations: 127.8 kB / 417.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6112, allocations: 56.28 kB / 417.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.6112, allocations: 10.41 kB / 417.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6112, allocations: 0 / 417.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.6113, allocations: 4 kB / 417.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6113, allocations: 0 / 417.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.6116, allocations: 183.2 kB / 417.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6116, allocations: 0 / 417.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.6117, allocations: 23.98 kB / 417.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6118, allocations: 0 / 417.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.6118, allocations: 4 kB / 417.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6118, allocations: 0 / 417.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6118, allocations: 0 / 417.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.6121, allocations: 297.3 kB / 418 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.6122, allocations: 96.06 kB / 418.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.6122, allocations: 7.75 kB / 418.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.6124, allocations: 7.938 kB / 418.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.6124, allocations: 0 / 418.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.6125, allocations: 7.953 kB / 418.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.6126, allocations: 121.7 kB / 418.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6126, allocations: 0 / 418.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.613, allocations: 8 kB / 418.3 MB, free: 10.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006436/0.6137, allocations: 1.024 MB / 419.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.6138, allocations: 28.36 kB / 419.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6138, allocations: 4 kB / 419.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.6139, allocations: 7.938 kB / 419.3 MB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.6143, allocations: 27.33 kB / 419.3 MB, free: 9.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.615, allocations: 180.4 kB / 419.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.6153, allocations: 0.6926 MB / 420.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.771e-05/0.6154, allocations: 11.77 kB / 420.2 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.6155, allocations: 18.06 kB / 420.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6155, allocations: 4 kB / 420.3 MB, free: 8.395 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.6342, allocations: 1.565 MB / 421.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000309/0.6346, allocations: 169.1 kB / 422 MB, free: 6.664 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.043, allocations: 4 kB / 422 MB, free: 6.66 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat