Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.264/2.264, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.087e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 50.35 MB / 334.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4912/0.6068, allocations: 79.25 MB / 414 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.6072, allocations: 74.64 kB / 414.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009204/0.6164, allocations: 2.113 MB / 416.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6164, allocations: 0 / 416.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.6165, allocations: 7.125 kB / 416.2 MB, free: 13.2 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.0006335/0.6171, allocations: 383.9 kB / 416.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6172, allocations: 11.97 kB / 416.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.6172, allocations: 49.23 kB / 416.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.6173, allocations: 7.906 kB / 416.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.6175, allocations: 191.2 kB / 416.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.6176, allocations: 11.64 kB / 416.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.6176, allocations: 11.72 kB / 416.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.6179, allocations: 105.7 kB / 417 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.6179, allocations: 0 / 417 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.618, allocations: 7.5 kB / 417 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.618, allocations: 4 kB / 417 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.6181, allocations: 40.88 kB / 417 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.6192, allocations: 0.5496 MB / 417.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.6194, allocations: 56.27 kB / 417.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.6195, allocations: 31.66 kB / 417.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.6195, allocations: 0 / 417.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.6196, allocations: 38.12 kB / 417.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.6196, allocations: 4 kB / 417.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003039/0.6199, allocations: 65.84 kB / 417.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.62, allocations: 55.41 kB / 417.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.6201, allocations: 119.1 kB / 417.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.6202, allocations: 29.69 kB / 418 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.6203, allocations: 111.3 kB / 418.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.6203, allocations: 27.36 kB / 418.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.6203, allocations: 3.938 kB / 418.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6205, allocations: 325.8 kB / 418.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.6206, allocations: 19.31 kB / 418.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/0.6207, allocations: 61.92 kB / 418.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.695e-05/0.6208, allocations: 21.92 kB / 418.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6208, allocations: 8 kB / 418.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002609/0.6211, allocations: 114.8 kB / 418.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.6211, allocations: 8 kB / 418.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6211, allocations: 0 / 418.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.6211, allocations: 0 / 418.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.6215, allocations: 31.98 kB / 418.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.6215, allocations: 0 / 418.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.6217, allocations: 31.14 kB / 418.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.6217, allocations: 4 kB / 418.7 MB, free: 10.65 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 8.923e-05/0.6218, allocations: 112.2 kB / 418.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.6219, allocations: 11.86 kB / 418.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.6219, allocations: 11.38 kB / 418.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6219, allocations: 4 kB / 418.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6219, allocations: 0 / 418.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.622, allocations: 3.984 kB / 418.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.6222, allocations: 191 kB / 419.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6223, allocations: 0 / 419.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.6225, allocations: 26.8 kB / 419.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.6226, allocations: 3.953 kB / 419.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.6226, allocations: 3.984 kB / 419.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6226, allocations: 0 / 419.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6226, allocations: 0 / 419.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.6229, allocations: 198.5 kB / 419.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.623, allocations: 85.02 kB / 419.4 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.6231, allocations: 3.953 kB / 419.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.6232, allocations: 12.03 kB / 419.4 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.6233, allocations: 7.797 kB / 419.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.6233, allocations: 7.938 kB / 419.4 MB, free: 9.949 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.701e-05/0.6234, allocations: 90.84 kB / 419.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6234, allocations: 0 / 419.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.6238, allocations: 23.19 kB / 419.5 MB, free: 9.844 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.0006443/0.6245, allocations: 0.736 MB / 420.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.6247, allocations: 53.25 kB / 420.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6248, allocations: 0 / 420.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.6248, allocations: 23.06 kB / 420.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.6252, allocations: 26.64 kB / 420.3 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.6263, allocations: 322 kB / 420.7 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.6266, allocations: 0.7043 MB / 421.4 MB, free: 7.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.235e-05/0.6267, allocations: 8.422 kB / 421.4 MB, free: 7.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.6268, allocations: 30.05 kB / 421.4 MB, free: 7.934 MB / 346.7 MB Notification: Performance of SimCode: time 1.492e-06/0.6268, allocations: 0 / 421.4 MB, free: 7.934 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.6518, allocations: 2.001 MB / 423.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.6522, allocations: 178.4 kB / 423.6 MB, free: 5.766 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.976, allocations: 7.844 kB / 423.6 MB, free: 5.758 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat