Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.591/2.591, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.645e-05/4.653e-05, allocations: 4 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.5786, allocations: 79.3 MB / 414.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5789, allocations: 71.19 kB / 414.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009457/0.5884, allocations: 2.12 MB / 416.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5885, allocations: 0 / 416.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.5885, allocations: 0 / 416.3 MB, free: 13.07 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006619/0.5892, allocations: 389.5 kB / 416.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.5892, allocations: 8.031 kB / 416.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.695e-05/0.5893, allocations: 49.17 kB / 416.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.5894, allocations: 7.906 kB / 416.7 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.5896, allocations: 188.8 kB / 416.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5897, allocations: 11.08 kB / 416.9 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.5897, allocations: 14.97 kB / 416.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.59, allocations: 103.4 kB / 417 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.59, allocations: 3.938 kB / 417 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.59, allocations: 3.438 kB / 417 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.5901, allocations: 4 kB / 417 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.5902, allocations: 45.31 kB / 417.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.5914, allocations: 0.5404 MB / 417.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.5916, allocations: 60.52 kB / 417.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.5917, allocations: 27.61 kB / 417.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.5917, allocations: 3.938 kB / 417.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5918, allocations: 34.55 kB / 417.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/0.5918, allocations: 4 kB / 417.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002691/0.5921, allocations: 71.06 kB / 417.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.5921, allocations: 51.41 kB / 417.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.5923, allocations: 121.8 kB / 418 MB, free: 11.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.5923, allocations: 29.7 kB / 418 MB, free: 11.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.5924, allocations: 181.3 kB / 418.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.5924, allocations: 26.02 kB / 418.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.5925, allocations: 4 kB / 418.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5926, allocations: 318.3 kB / 418.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.5927, allocations: 22.38 kB / 418.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.5928, allocations: 61.53 kB / 418.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.5929, allocations: 23.25 kB / 418.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5929, allocations: 4 kB / 418.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002624/0.5932, allocations: 110.5 kB / 418.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5932, allocations: 4 kB / 418.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5933, allocations: 4 kB / 418.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5933, allocations: 0 / 418.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.5936, allocations: 31.98 kB / 418.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.5936, allocations: 3.984 kB / 418.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.5938, allocations: 19.81 kB / 418.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.5938, allocations: 4 kB / 418.8 MB, free: 10.47 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 (13): * Single equations (assignments): 13 * 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 9.412e-05/0.5939, allocations: 116.4 kB / 418.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.594, allocations: 11.86 kB / 418.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.594, allocations: 15.05 kB / 418.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5941, allocations: 0 / 418.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5941, allocations: 4 kB / 418.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5941, allocations: 0 / 418.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.5944, allocations: 208.6 kB / 419.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5944, allocations: 0 / 419.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.5947, allocations: 19.98 kB / 419.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.5947, allocations: 7.953 kB / 419.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.5947, allocations: 0 / 419.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.5948, allocations: 0 / 419.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5948, allocations: 0 / 419.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.5951, allocations: 197.1 kB / 419.4 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.5952, allocations: 85.14 kB / 419.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.5953, allocations: 15.33 kB / 419.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.5954, allocations: 4 kB / 419.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.5955, allocations: 7.984 kB / 419.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.5955, allocations: 3.938 kB / 419.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.5956, allocations: 97.33 kB / 419.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5956, allocations: 0 / 419.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.596, allocations: 27.62 kB / 419.6 MB, free: 9.637 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000658/0.5967, allocations: 0.7291 MB / 420.3 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.5969, allocations: 57.41 kB / 420.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5969, allocations: 0 / 420.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.597, allocations: 19.38 kB / 420.4 MB, free: 8.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.5974, allocations: 24.05 kB / 420.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5985, allocations: 343.9 kB / 420.8 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.5988, allocations: 0.7043 MB / 421.5 MB, free: 7.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.599, allocations: 31.11 kB / 421.5 MB, free: 7.715 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.599, allocations: 0 / 421.5 MB, free: 7.715 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.373/2.972, allocations: 1.72 MB / 423.2 MB, free: 6.012 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat