Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock",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.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.618e-05/5.635e-05, allocations: 8 kB / 284.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 50.35 MB / 334.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5944, allocations: 77.91 MB / 412.7 MB, free: 4 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5948, allocations: 76.14 kB / 412.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005419/0.6002, allocations: 1.237 MB / 414 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.6003, allocations: 4 kB / 414 MB, free: 14.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.6003, allocations: 11.94 kB / 414 MB, free: 14.86 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004181/0.6007, allocations: 351 kB / 414.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6008, allocations: 8.031 kB / 414.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.6009, allocations: 38.25 kB / 414.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.6009, allocations: 11.81 kB / 414.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.6012, allocations: 190.2 kB / 414.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.6012, allocations: 7.953 kB / 414.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.6012, allocations: 10.75 kB / 414.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.6016, allocations: 113.6 kB / 414.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6016, allocations: 0 / 414.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.6016, allocations: 3.188 kB / 414.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.6016, allocations: 4 kB / 414.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.6017, allocations: 15 kB / 414.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.6019, allocations: 179.3 kB / 414.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.6021, allocations: 64.09 kB / 415 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.6022, allocations: 34.23 kB / 415 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.6022, allocations: 0 / 415 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.6023, allocations: 34.56 kB / 415.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 4.218e-06/0.6023, allocations: 0 / 415.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002153/0.6025, allocations: 82.05 kB / 415.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.6026, allocations: 55.41 kB / 415.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.6028, allocations: 122.5 kB / 415.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.6028, allocations: 25.7 kB / 415.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.6029, allocations: 94.39 kB / 415.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.6029, allocations: 3.984 kB / 415.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.6029, allocations: 2.562 kB / 415.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.603, allocations: 318 kB / 415.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.6031, allocations: 8 kB / 415.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.6032, allocations: 60.23 kB / 415.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.6032, allocations: 19.31 kB / 415.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6033, allocations: 0 / 415.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001848/0.6035, allocations: 88.78 kB / 415.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6035, allocations: 4 kB / 415.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6035, allocations: 8.188 kB / 415.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6035, allocations: 4 kB / 415.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.6037, allocations: 19.94 kB / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.6037, allocations: 0 / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.6038, allocations: 11.78 kB / 416 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.6038, allocations: 4 kB / 416 MB, free: 12.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.491e-05/0.6039, allocations: 111.9 kB / 416.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.604, allocations: 72.86 kB / 416.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.6041, allocations: 18.8 kB / 416.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6041, allocations: 0 / 416.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6041, allocations: 4 kB / 416.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6041, allocations: 0 / 416.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.6043, allocations: 175.2 kB / 416.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6043, allocations: 0 / 416.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.6044, allocations: 15.98 kB / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6044, allocations: 0 / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6044, allocations: 7.953 kB / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6045, allocations: 0 / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6045, allocations: 0 / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.6046, allocations: 99.91 kB / 416.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.6047, allocations: 92.38 kB / 416.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.6048, allocations: 7.984 kB / 416.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.6048, allocations: 7.891 kB / 416.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-06/0.6048, allocations: 0 / 416.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.6049, allocations: 0 / 416.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.605, allocations: 107.6 kB / 416.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.605, allocations: 3.938 kB / 416.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00028/0.6053, allocations: 11.75 kB / 416.7 MB, free: 12.03 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 (8): * Single equations (assignments): 8 * 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.0005734/0.6059, allocations: 0.6601 MB / 417.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.606, allocations: 34.75 kB / 417.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6061, allocations: 0 / 417.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.6061, allocations: 4.5 kB / 417.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.6064, allocations: 46.22 kB / 417.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.6069, allocations: 145.6 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.6072, allocations: 0.6965 MB / 418.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.6073, allocations: 7.984 kB / 418.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.6073, allocations: 22.12 kB / 418.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of SimCode: time 9.21e-07/0.6074, allocations: 0 / 418.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.6278, allocations: 1.472 MB / 419.8 MB, free: 8.961 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003706/0.6282, allocations: 176.6 kB / 420 MB, free: 8.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.122, allocations: 0 / 420 MB, free: 8.734 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat