Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.586/2.586, allocations: 270.1 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.348e-05/4.352e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5056/0.6462, allocations: 87.34 MB / 497.7 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.6465, allocations: 67.97 kB / 497.8 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01073/0.6573, allocations: 2.59 MB / 0.4886 GB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6573, allocations: 4 kB / 0.4886 GB, free: 13.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.6574, allocations: 0 / 0.4886 GB, free: 13.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000644/0.658, allocations: 406.1 kB / 0.489 GB, free: 13.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.6581, allocations: 8.031 kB / 0.489 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.6582, allocations: 46.55 kB / 0.4891 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.6582, allocations: 15.81 kB / 0.4891 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.6585, allocations: 206.8 kB / 0.4893 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.6585, allocations: 11.95 kB / 0.4893 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.6586, allocations: 12 kB / 0.4893 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.6589, allocations: 113.7 kB / 0.4894 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.6589, allocations: 0 / 0.4894 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.659, allocations: 8 kB / 0.4894 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.659, allocations: 4 kB / 0.4894 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.6592, allocations: 71.98 kB / 0.4895 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009467/0.6602, allocations: 476.1 kB / 0.49 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.6605, allocations: 118.5 kB / 0.4901 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.6607, allocations: 56.78 kB / 0.4901 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.6607, allocations: 0 / 0.4901 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.6607, allocations: 38.5 kB / 0.4902 GB, free: 12.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.6608, allocations: 2.844 kB / 0.4902 GB, free: 12.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.001845/0.6626, allocations: 0.7434 MB / 0.4909 GB, free: 11.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.6627, allocations: 51.41 kB / 0.4909 GB, free: 11.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.6629, allocations: 127.7 kB / 0.4911 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.6629, allocations: 25.7 kB / 0.4911 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.663, allocations: 116.3 kB / 0.4912 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.6631, allocations: 71 kB / 0.4913 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.6631, allocations: 4 kB / 0.4913 GB, free: 10.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6633, allocations: 322.8 kB / 0.4916 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.6634, allocations: 40.38 kB / 0.4916 GB, free: 10.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.6636, allocations: 63.47 kB / 0.4917 GB, free: 10.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.6638, allocations: 60.45 kB / 0.4917 GB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6638, allocations: 7.938 kB / 0.4917 GB, free: 10.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009024/0.6647, allocations: 190.2 kB / 0.4919 GB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.6648, allocations: 4 kB / 0.4919 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6648, allocations: 0 / 0.4919 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003888/0.6652, allocations: 44.83 kB / 0.492 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.6658, allocations: 35.92 kB / 0.492 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.6682, allocations: 1.565 MB / 0.4935 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.6684, allocations: 8 kB / 0.4935 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.6684, allocations: 8.062 kB / 0.4935 GB, free: 8.465 MB / 410.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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.6686, allocations: 105 kB / 0.4936 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.6686, allocations: 11.91 kB / 0.4937 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.364e-05/0.6687, allocations: 24.73 kB / 0.4937 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6687, allocations: 0 / 0.4937 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6687, allocations: 3.953 kB / 0.4937 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6687, allocations: 4 kB / 0.4937 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.6699, allocations: 0.5352 MB / 0.4942 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6699, allocations: 4 kB / 0.4942 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.6702, allocations: 43.91 kB / 0.4943 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.6704, allocations: 28.84 kB / 0.4943 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6704, allocations: 8.031 kB / 0.4943 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.672, allocations: 1.355 MB / 0.4956 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.672, allocations: 0 / 0.4956 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.6727, allocations: 346.2 kB / 0.4959 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.6728, allocations: 92.94 kB / 0.496 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.6729, allocations: 11.95 kB / 0.496 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.673, allocations: 7.875 kB / 0.4961 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.6731, allocations: 20.05 kB / 0.4961 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.6731, allocations: 8 kB / 0.4961 GB, free: 5.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.6733, allocations: 111.2 kB / 0.4962 GB, free: 5.512 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6733, allocations: 0 / 0.4962 GB, free: 5.512 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004889/0.6738, allocations: 44 kB / 0.4962 GB, free: 5.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.6749, allocations: 0.9487 MB / 0.4972 GB, free: 4.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.6755, allocations: 224.8 kB / 0.4974 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6755, allocations: 4 kB / 0.4974 GB, free: 4.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.6759, allocations: 189.7 kB / 0.4976 GB, free: 4.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.6762, allocations: 19.94 kB / 0.4976 GB, free: 4.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.6774, allocations: 370.7 kB / 0.4979 GB, free: 3.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.6779, allocations: 0.7285 MB / 0.4986 GB, free: 2.879 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.685e-05/0.678, allocations: 9.203 kB / 0.4986 GB, free: 2.871 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.6781, allocations: 47.36 kB / 0.4987 GB, free: 2.824 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6781, allocations: 4 kB / 0.4987 GB, free: 2.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.706, allocations: 2.97 MB / 0.5016 GB, free: 15.94 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004574/0.7066, allocations: 175.1 kB / 0.5018 GB, free: 15.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.276, allocations: 0 / 0.5018 GB, free: 15.72 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat