Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.6/2.6, allocations: 270 MB / 283.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.831e-05, allocations: 4 kB / 348.5 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4172, allocations: 61.87 MB / 410.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.5914, allocations: 89.32 MB / 499.7 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5918, allocations: 71.95 kB / 499.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02185/0.6137, allocations: 4.618 MB / 0.4925 GB, free: 12.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6137, allocations: 4 kB / 0.4926 GB, free: 12.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.6138, allocations: 4 kB / 0.4926 GB, free: 12.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001227/0.615, allocations: 0.5099 MB / 0.4931 GB, free: 11.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.6151, allocations: 12.03 kB / 0.4931 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.337e-05/0.6152, allocations: 54.53 kB / 0.4931 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.473e-05/0.6153, allocations: 23.72 kB / 0.4931 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.6157, allocations: 255.4 kB / 0.4934 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.6157, allocations: 12.44 kB / 0.4934 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.6158, allocations: 24 kB / 0.4934 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.6165, allocations: 246.4 kB / 0.4937 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.6165, allocations: 0 / 0.4937 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.6166, allocations: 4 kB / 0.4937 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.6166, allocations: 8 kB / 0.4937 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.6172, allocations: 196.8 kB / 0.4939 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.6193, allocations: 0.7053 MB / 0.4945 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.6199, allocations: 207 kB / 0.4947 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.6203, allocations: 133.3 kB / 0.4949 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.6204, allocations: 4.234 kB / 0.4949 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6204, allocations: 34.8 kB / 0.4949 GB, free: 9.914 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.236e-06/0.6204, allocations: 3.938 kB / 0.4949 GB, free: 9.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003377/0.6238, allocations: 1.16 MB / 0.496 GB, free: 8.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.6239, allocations: 59.34 kB / 0.4961 GB, free: 8.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.6241, allocations: 165.9 kB / 0.4963 GB, free: 8.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.6242, allocations: 29.7 kB / 0.4963 GB, free: 8.387 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6243, allocations: 136.5 kB / 0.4964 GB, free: 8.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.6245, allocations: 118.4 kB / 0.4965 GB, free: 8.133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.6245, allocations: 4 kB / 0.4965 GB, free: 8.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6247, allocations: 330.8 kB / 0.4968 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.625, allocations: 108 kB / 0.4969 GB, free: 7.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.6254, allocations: 147.4 kB / 0.4971 GB, free: 7.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.6258, allocations: 100.9 kB / 0.4972 GB, free: 7.438 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6258, allocations: 0 / 0.4972 GB, free: 7.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001165/0.6269, allocations: 385.8 kB / 0.4976 GB, free: 7.051 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.627, allocations: 4 kB / 0.4976 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.627, allocations: 8.062 kB / 0.4976 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007042/0.6277, allocations: 196.7 kB / 0.4978 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.6282, allocations: 51.91 kB / 0.4978 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.6294, allocations: 0.7047 MB / 0.4985 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.6299, allocations: 47.97 kB / 0.4985 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.63, allocations: 23.98 kB / 0.4986 GB, free: 5.992 MB / 426.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: 8 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.6302, allocations: 125.4 kB / 0.4987 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.6303, allocations: 23.72 kB / 0.4987 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.6318, allocations: 425.1 kB / 0.4991 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6319, allocations: 4 kB / 0.4991 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.6319, allocations: 3.953 kB / 0.4991 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6319, allocations: 0 / 0.4991 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.6343, allocations: 0.9288 MB / 0.5 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6344, allocations: 0 / 0.5 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.6348, allocations: 55.84 kB / 0.5001 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006278/0.6355, allocations: 168.8 kB / 0.5002 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.6355, allocations: 8 kB / 0.5002 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009029/0.6365, allocations: 0.6771 MB / 0.5009 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6365, allocations: 4.062 kB / 0.5009 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.6382, allocations: 0.6219 MB / 0.5015 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.6384, allocations: 120.9 kB / 0.5016 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.6385, allocations: 12 kB / 0.5016 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.639, allocations: 48.02 kB / 0.5017 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.6392, allocations: 59.84 kB / 0.5017 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.6393, allocations: 16.05 kB / 0.5018 GB, free: 2.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.6395, allocations: 143.3 kB / 0.5019 GB, free: 2.402 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6395, allocations: 0 / 0.5019 GB, free: 2.402 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005602/0.6401, allocations: 80 kB / 0.502 GB, free: 2.324 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002235/0.6423, allocations: 1.33 MB / 0.5033 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.6434, allocations: 305.5 kB / 0.5036 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6435, allocations: 0 / 0.5036 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.644, allocations: 144.4 kB / 0.5037 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.6445, allocations: 28.12 kB / 0.5037 GB, free: 488 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.6479, allocations: 0.7545 MB / 0.5045 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.6484, allocations: 0.7566 MB / 0.5052 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.6485, allocations: 22.08 kB / 0.5052 GB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.6487, allocations: 67.41 kB / 0.5053 GB, free: 14.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6487, allocations: 0 / 0.5053 GB, free: 14.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/0.6926, allocations: 6.523 MB / 0.5117 GB, free: 8.395 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/0.6929, allocations: 188.5 kB / 0.5118 GB, free: 8.168 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.49, allocations: 0 / 0.5118 GB, free: 8.168 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat