Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.245/2.245, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.682e-05/4.693e-05, allocations: 7.984 kB / 284.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 50.35 MB / 334.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4624/0.6003, allocations: 78 MB / 412.8 MB, free: 268 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003965/0.6008, allocations: 74.39 kB / 412.9 MB, free: 228 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006471/0.6072, allocations: 1.117 MB / 414 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6073, allocations: 7.938 kB / 414 MB, free: 15.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.6073, allocations: 4 kB / 414 MB, free: 15.22 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.0005025/0.6079, allocations: 350.1 kB / 414.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.6079, allocations: 8.031 kB / 414.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.608, allocations: 34.56 kB / 414.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.6081, allocations: 7.906 kB / 414.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.6084, allocations: 187.4 kB / 414.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.6084, allocations: 3.953 kB / 414.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.6085, allocations: 11.81 kB / 414.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.6089, allocations: 107.2 kB / 414.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6089, allocations: 4 kB / 414.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.609, allocations: 0 / 414.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.609, allocations: 3.938 kB / 414.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.609, allocations: 11.12 kB / 414.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.6096, allocations: 270.7 kB / 415 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.6099, allocations: 130.2 kB / 415.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.61, allocations: 25.41 kB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.6101, allocations: 3.375 kB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.6101, allocations: 34.56 kB / 415.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.206e-06/0.6102, allocations: 0 / 415.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000265/0.6104, allocations: 56.94 kB / 415.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.6105, allocations: 80.3 kB / 415.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.6108, allocations: 129.7 kB / 415.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.6108, allocations: 25.7 kB / 415.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.6109, allocations: 83.45 kB / 415.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.611, allocations: 7.906 kB / 415.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.611, allocations: 0 / 415.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6111, allocations: 317 kB / 415.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.6112, allocations: 7.438 kB / 415.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.6113, allocations: 31.42 kB / 415.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.6113, allocations: 10.94 kB / 415.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6114, allocations: 0 / 415.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001773/0.6115, allocations: 52.88 kB / 416 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.6116, allocations: 8 kB / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6116, allocations: 128 / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.6117, allocations: 4 kB / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.6118, allocations: 8 kB / 416 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6119, allocations: 4 kB / 416 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.612, allocations: 11.89 kB / 416 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.612, allocations: 3.938 kB / 416 MB, free: 13.02 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: 0 () * 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.0001254/0.6122, allocations: 116.8 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.6124, allocations: 40.83 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.6124, allocations: 15.52 kB / 416.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6125, allocations: 4.188 kB / 416.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.6125, allocations: 4 kB / 416.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.6125, allocations: 3.984 kB / 416.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.6129, allocations: 168.2 kB / 416.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6129, allocations: 0 / 416.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.6131, allocations: 8 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.6131, allocations: 4 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.6131, allocations: 0 / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.6132, allocations: 7.922 kB / 416.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6132, allocations: 3.984 kB / 416.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.6135, allocations: 172.1 kB / 416.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.6136, allocations: 104.1 kB / 416.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.6137, allocations: 4 kB / 416.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.6139, allocations: 4 kB / 416.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.6139, allocations: 0 / 416.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.614, allocations: 4 kB / 416.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.6141, allocations: 102 kB / 416.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6142, allocations: 0 / 416.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005261/0.6147, allocations: 7.312 kB / 416.7 MB, free: 12.2 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 (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.0007484/0.6155, allocations: 0.7743 MB / 417.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.6157, allocations: 19.25 kB / 417.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6157, allocations: 0 / 417.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.6158, allocations: 4 kB / 417.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.6163, allocations: 11.03 kB / 417.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.6172, allocations: 138.6 kB / 417.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.6176, allocations: 0.6929 MB / 418.4 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.6177, allocations: 8 kB / 418.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.6178, allocations: 10.75 kB / 418.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/0.6178, allocations: 0 / 418.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.6553, allocations: 1.229 MB / 419.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/0.6557, allocations: 172.3 kB / 419.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/2.99, allocations: 0 / 419.8 MB, free: 9.086 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat