Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.344e-05, allocations: 4 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 50.42 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5067/0.6178, allocations: 76.81 MB / 419.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004149/0.6183, allocations: 77.3 kB / 419.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006311/0.6246, allocations: 1.024 MB / 420.6 MB, free: 40 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6247, allocations: 0 / 420.6 MB, free: 40 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.6247, allocations: 4 kB / 420.6 MB, free: 36 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005582/0.6253, allocations: 330.4 kB / 420.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.6254, allocations: 12.03 kB / 420.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.6255, allocations: 40.56 kB / 420.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.6255, allocations: 11.86 kB / 421 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.6258, allocations: 175 kB / 421.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.6259, allocations: 3.75 kB / 421.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.6259, allocations: 4 kB / 421.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.6264, allocations: 96.78 kB / 421.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6264, allocations: 4 kB / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6264, allocations: 0 / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.6265, allocations: 3.953 kB / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.6266, allocations: 15.56 kB / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.6268, allocations: 160.8 kB / 421.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.627, allocations: 48.44 kB / 421.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.6272, allocations: 22.7 kB / 421.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.6272, allocations: 4 kB / 421.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.6273, allocations: 34.56 kB / 421.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.806e-06/0.6273, allocations: 0 / 421.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002549/0.6276, allocations: 51.5 kB / 421.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.6276, allocations: 55.34 kB / 421.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.6278, allocations: 107.3 kB / 421.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.6279, allocations: 29.7 kB / 421.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.6279, allocations: 83.27 kB / 421.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.628, allocations: 3.984 kB / 421.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.628, allocations: 0 / 421.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6282, allocations: 322 kB / 422.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.6282, allocations: 0 / 422.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/0.6283, allocations: 26.75 kB / 422.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.6284, allocations: 11.92 kB / 422.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6284, allocations: 4 kB / 422.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001651/0.6286, allocations: 52.73 kB / 422.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.6286, allocations: 8 kB / 422.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.6286, allocations: 0 / 422.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.6287, allocations: 3.984 kB / 422.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.6288, allocations: 15.94 kB / 422.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6288, allocations: 0 / 422.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.6289, allocations: 7.953 kB / 422.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.6289, allocations: 0 / 422.3 MB, free: 14.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: 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.0001149/0.6291, allocations: 111.9 kB / 422.4 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.6293, allocations: 52 kB / 422.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.6293, allocations: 7.281 kB / 422.5 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.6294, allocations: 4 kB / 422.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6294, allocations: 0 / 422.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6294, allocations: 0 / 422.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.6296, allocations: 164 kB / 422.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6296, allocations: 0 / 422.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.6298, allocations: 18.98 kB / 422.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.6299, allocations: 4 kB / 422.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.6299, allocations: 0 / 422.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.6299, allocations: 4 kB / 422.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6299, allocations: 0 / 422.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.6302, allocations: 75.7 kB / 422.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.6303, allocations: 88.06 kB / 422.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.6304, allocations: 4 kB / 422.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.6305, allocations: 0 / 422.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-06/0.6305, allocations: 4.375 kB / 422.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.6305, allocations: 4 kB / 422.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.421e-05/0.6306, allocations: 90.41 kB / 422.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.6307, allocations: 0 / 422.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.6311, allocations: 4 kB / 422.9 MB, free: 13.46 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: 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.0006907/0.6318, allocations: 0.6288 MB / 423.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.632, allocations: 14.75 kB / 423.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.632, allocations: 0 / 423.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-06/0.632, allocations: 3.938 kB / 423.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.6323, allocations: 34.05 kB / 423.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.6329, allocations: 96.73 kB / 423.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.6334, allocations: 0.6851 MB / 424.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.382e-05/0.6334, allocations: 8 kB / 424.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.6335, allocations: 10.69 kB / 424.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.412e-06/0.6335, allocations: 0 / 424.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.6533, allocations: 1.079 MB / 425.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008618/0.6542, allocations: 168.3 kB / 425.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.1, allocations: 0 / 425.6 MB, free: 10.69 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat does not exist to compare? outputFormat=mat