Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 270.1 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.408e-05/5.419e-05, allocations: 0 / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1818, allocations: 61.91 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6416/0.8235, allocations: 87.92 MB / 498.3 MB, free: 72 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.8238, allocations: 64.97 kB / 498.4 MB, free: 8 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.028/0.8518, allocations: 6.279 MB / 0.4928 GB, free: 9.719 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.8519, allocations: 0 / 0.4928 GB, free: 9.719 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.8519, allocations: 11.94 kB / 0.4928 GB, free: 9.707 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001259/0.8532, allocations: 0.5493 MB / 0.4934 GB, free: 9.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.8533, allocations: 8.031 kB / 0.4934 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.8534, allocations: 82.52 kB / 0.4934 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.8536, allocations: 43.53 kB / 0.4935 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.854, allocations: 255.3 kB / 0.4937 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.8541, allocations: 28.78 kB / 0.4938 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.8542, allocations: 43.89 kB / 0.4938 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.8551, allocations: 369.8 kB / 0.4941 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.8551, allocations: 3.984 kB / 0.4942 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.8552, allocations: 16 kB / 0.4942 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.8552, allocations: 12 kB / 0.4942 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.8558, allocations: 195.8 kB / 0.4944 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.8594, allocations: 1.711 MB / 0.496 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.86, allocations: 245.2 kB / 0.4963 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.8602, allocations: 86.08 kB / 0.4964 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.8603, allocations: 4 kB / 0.4964 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.8603, allocations: 46.5 kB / 0.4964 GB, free: 5.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 3.316e-06/0.8604, allocations: 0 / 0.4964 GB, free: 5.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006984/0.8611, allocations: 181.1 kB / 0.4966 GB, free: 5.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.8612, allocations: 217.5 kB / 0.4968 GB, free: 5.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.8617, allocations: 243.4 kB / 0.497 GB, free: 5.023 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.8617, allocations: 33.7 kB / 0.497 GB, free: 4.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.8619, allocations: 239.3 kB / 0.4973 GB, free: 4.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.8621, allocations: 110.5 kB / 0.4974 GB, free: 4.633 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.8622, allocations: 12 kB / 0.4974 GB, free: 4.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8623, allocations: 346.8 kB / 0.4977 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.8626, allocations: 85.56 kB / 0.4978 GB, free: 4.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.8631, allocations: 408.6 kB / 0.4982 GB, free: 3.629 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.8635, allocations: 159.8 kB / 0.4983 GB, free: 3.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.8636, allocations: 4 kB / 0.4983 GB, free: 3.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001211/0.8648, allocations: 477.1 kB / 0.4988 GB, free: 2.996 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.8648, allocations: 12 kB / 0.4988 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.8649, allocations: 16.86 kB / 0.4988 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-05/0.8649, allocations: 16 kB / 0.4988 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009096/0.8658, allocations: 151.8 kB / 0.499 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.44e-05/0.8659, allocations: 27.86 kB / 0.499 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.8665, allocations: 67.36 kB / 0.4991 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.8665, allocations: 32 kB / 0.4991 GB, free: 2.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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 0.0001824/0.8667, allocations: 147.2 kB / 0.4993 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.8669, allocations: 39.52 kB / 0.4993 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.8671, allocations: 41.84 kB / 0.4993 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.8671, allocations: 8 kB / 0.4993 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.8671, allocations: 0 / 0.4993 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.8671, allocations: 4 kB / 0.4993 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.8692, allocations: 0.6397 MB / 0.5 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8693, allocations: 0 / 0.5 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.8703, allocations: 95.95 kB / 0.5001 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/0.8703, allocations: 8.234 kB / 0.5001 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.8704, allocations: 8 kB / 0.5001 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.8704, allocations: 8 kB / 0.5001 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.8704, allocations: 7.938 kB / 0.5001 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009767/0.8714, allocations: 0.8892 MB / 0.501 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.8716, allocations: 108.9 kB / 0.5011 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.8717, allocations: 8 kB / 0.5011 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.8722, allocations: 15.98 kB / 0.5011 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.8723, allocations: 23.88 kB / 0.5011 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.8723, allocations: 15.98 kB / 0.5011 GB, free: 464 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.8726, allocations: 179.1 kB / 0.5013 GB, free: 288 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8726, allocations: 0 / 0.5013 GB, free: 288 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001074/0.8737, allocations: 103.8 kB / 0.5014 GB, free: 184 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001561/0.8753, allocations: 1.993 MB / 0.5033 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.876, allocations: 243.9 kB / 0.5036 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.876, allocations: 2.625 kB / 0.5036 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.8763, allocations: 75.86 kB / 0.5036 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.8773, allocations: 57.8 kB / 0.5037 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.8815, allocations: 1.639 MB / 0.5053 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.8821, allocations: 0.8033 MB / 0.5061 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.8824, allocations: 47.25 kB / 0.5061 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.8827, allocations: 115.4 kB / 0.5062 GB, free: 11.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8827, allocations: 4 kB / 0.5062 GB, free: 11.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/0.9239, allocations: 5.91 MB / 0.512 GB, free: 5.234 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003499/0.9243, allocations: 150.6 kB / 0.5122 GB, free: 5.016 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.617, allocations: 4.062 kB / 0.5122 GB, free: 5.012 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat