Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.26/2.26, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.999e-05, allocations: 10.8 kB / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.5998, allocations: 77.71 MB / 420.9 MB, free: 132 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.6001, allocations: 73.83 kB / 420.9 MB, free: 92 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00965/0.6098, allocations: 2.161 MB / 423.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6098, allocations: 0 / 423.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.6099, allocations: 4 kB / 423.1 MB, free: 14.25 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.000655/0.6105, allocations: 394.2 kB / 423.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6106, allocations: 12.03 kB / 423.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.6107, allocations: 37.61 kB / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.6107, allocations: 19.23 kB / 423.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.611, allocations: 194 kB / 423.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.611, allocations: 7.438 kB / 423.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.6111, allocations: 7.062 kB / 423.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.6113, allocations: 100.5 kB / 423.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.6114, allocations: 8 kB / 423.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.6114, allocations: 7.703 kB / 423.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.6114, allocations: 4 kB / 423.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.6116, allocations: 42.06 kB / 423.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.6127, allocations: 0.5485 MB / 424.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.6129, allocations: 59.39 kB / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.613, allocations: 27.22 kB / 424.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.6131, allocations: 8 kB / 424.6 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.6131, allocations: 33.88 kB / 424.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 4.829e-06/0.6131, allocations: 3.984 kB / 424.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002678/0.6134, allocations: 71.69 kB / 424.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.6135, allocations: 55.41 kB / 424.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.6136, allocations: 115.7 kB / 424.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.6137, allocations: 25.7 kB / 424.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.6138, allocations: 117.8 kB / 425 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.6139, allocations: 27.06 kB / 425 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.6139, allocations: 7.688 kB / 425 MB, free: 12.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.614, allocations: 318.1 kB / 425.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.6141, allocations: 17.31 kB / 425.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.6142, allocations: 50.05 kB / 425.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.6143, allocations: 33.17 kB / 425.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6144, allocations: 3.938 kB / 425.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002752/0.6146, allocations: 101.3 kB / 425.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.6147, allocations: 9.406 kB / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6147, allocations: 0 / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.6147, allocations: 4 kB / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.6151, allocations: 36.05 kB / 425.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.6151, allocations: 7.953 kB / 425.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.6152, allocations: 19.17 kB / 425.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6153, allocations: 4 kB / 425.6 MB, free: 11.71 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.282e-05/0.6154, allocations: 104.2 kB / 425.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.6154, allocations: 7.906 kB / 425.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.6155, allocations: 15.44 kB / 425.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.6155, allocations: 16.02 kB / 425.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6155, allocations: 3.938 kB / 425.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.6155, allocations: 3.953 kB / 425.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.6159, allocations: 195.7 kB / 425.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6159, allocations: 0 / 425.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.6162, allocations: 27.97 kB / 426 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.6162, allocations: 0 / 426 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.6162, allocations: 3.188 kB / 426 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6162, allocations: 0 / 426 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6162, allocations: 8 kB / 426 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.6166, allocations: 187.8 kB / 426.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.6167, allocations: 85.02 kB / 426.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.6167, allocations: 3.188 kB / 426.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.6169, allocations: 12.03 kB / 426.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.617, allocations: 7.922 kB / 426.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.617, allocations: 4 kB / 426.3 MB, free: 11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.6171, allocations: 108.2 kB / 426.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6171, allocations: 3.938 kB / 426.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000362/0.6175, allocations: 20 kB / 426.4 MB, free: 10.88 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.0007302/0.6183, allocations: 0.7337 MB / 427.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.6185, allocations: 55.38 kB / 427.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6185, allocations: 0 / 427.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/0.6186, allocations: 31.53 kB / 427.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.619, allocations: 11.81 kB / 427.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.6202, allocations: 313.5 kB / 427.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.6206, allocations: 0.7043 MB / 428.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.467e-05/0.6207, allocations: 8.438 kB / 428.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.6208, allocations: 30.23 kB / 428.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6208, allocations: 0 / 428.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.6442, allocations: 1.994 MB / 430.3 MB, free: 7.055 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.6446, allocations: 165.8 kB / 430.4 MB, free: 6.828 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.115, allocations: 0 / 430.4 MB, free: 6.828 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat