Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.581e-05, allocations: 0 / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 61.9 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5775/0.736, allocations: 93.46 MB / 0.492 GB, free: 10.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.7363, allocations: 68.72 kB / 0.4921 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05756/0.7939, allocations: 13.88 MB / 0.5056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.794, allocations: 0 / 0.5056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.174e-05/0.7941, allocations: 28 kB / 0.5057 GB, free: 12.47 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002391/0.7965, allocations: 0.9117 MB / 0.5066 GB, free: 11.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.7966, allocations: 8.031 kB / 0.5066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003577/0.7969, allocations: 139.7 kB / 0.5067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.7972, allocations: 106.7 kB / 0.5068 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.7987, allocations: 0.5476 MB / 0.5073 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.7988, allocations: 66 kB / 0.5074 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.7991, allocations: 92 kB / 0.5075 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.8017, allocations: 0.8425 MB / 0.5083 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.089e-05/0.8018, allocations: 7.906 kB / 0.5083 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.8019, allocations: 39.98 kB / 0.5083 GB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.8019, allocations: 31.94 kB / 0.5084 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.8037, allocations: 483.7 kB / 0.5088 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006625/0.8104, allocations: 3.635 MB / 0.5124 GB, free: 5.266 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008785/0.8113, allocations: 219.1 kB / 0.5126 GB, free: 5.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.8116, allocations: 96.84 kB / 0.5127 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.8119, allocations: 247.3 kB / 0.5129 GB, free: 4.641 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.812, allocations: 30.56 kB / 0.513 GB, free: 4.602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.146e-06/0.812, allocations: 0 / 0.513 GB, free: 4.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.00387/0.8159, allocations: 1.185 MB / 0.5141 GB, free: 3.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.816, allocations: 55.41 kB / 0.5142 GB, free: 3.254 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.817, allocations: 347 kB / 0.5145 GB, free: 2.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.8171, allocations: 29.7 kB / 0.5145 GB, free: 2.875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.8177, allocations: 470.1 kB / 0.515 GB, free: 2.406 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.818, allocations: 134.1 kB / 0.5151 GB, free: 2.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.8181, allocations: 16 kB / 0.5151 GB, free: 2.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.8184, allocations: 354.8 kB / 0.5155 GB, free: 1.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.8189, allocations: 105.1 kB / 0.5156 GB, free: 1.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006919/0.8196, allocations: 293.2 kB / 0.5158 GB, free: 1.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.8202, allocations: 163.4 kB / 0.516 GB, free: 1.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.8203, allocations: 0 / 0.516 GB, free: 1.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001681/0.822, allocations: 485.3 kB / 0.5165 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.822, allocations: 4 kB / 0.5165 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.822, allocations: 8 kB / 0.5165 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.8224, allocations: 36.84 kB / 0.5165 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.8236, allocations: 132.3 kB / 0.5166 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006733/0.8243, allocations: 0.5563 MB / 0.5172 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.8248, allocations: 16 kB / 0.5172 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.825, allocations: 28.08 kB / 0.5172 GB, free: 15.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.8252, allocations: 140.7 kB / 0.5173 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.8254, allocations: 47.39 kB / 0.5174 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.8267, allocations: 328.1 kB / 0.5177 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.8268, allocations: 4 kB / 0.5177 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.8268, allocations: 0 / 0.5177 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.8268, allocations: 0 / 0.5177 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.8293, allocations: 1.046 MB / 0.5187 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.8294, allocations: 4 kB / 0.5187 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/0.8302, allocations: 87.83 kB / 0.5188 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.8304, allocations: 28.84 kB / 0.5188 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.8305, allocations: 8 kB / 0.5189 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005089/0.831, allocations: 0.5525 MB / 0.5194 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.831, allocations: 12 kB / 0.5194 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.8322, allocations: 0.5871 MB / 0.52 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.8324, allocations: 124.4 kB / 0.5201 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.8325, allocations: 12 kB / 0.5201 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.8328, allocations: 12 kB / 0.5201 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.8329, allocations: 19.97 kB / 0.5201 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.833, allocations: 15.98 kB / 0.5202 GB, free: 12.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004765/0.8335, allocations: 261.2 kB / 0.5204 GB, free: 12.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8335, allocations: 0 / 0.5204 GB, free: 12.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008352/0.8343, allocations: 131.9 kB / 0.5205 GB, free: 12.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001885/0.8362, allocations: 1.515 MB / 0.522 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009104/0.8372, allocations: 298 kB / 0.5223 GB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8372, allocations: 4.062 kB / 0.5223 GB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.8376, allocations: 127.9 kB / 0.5224 GB, free: 10.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.8382, allocations: 62.77 kB / 0.5225 GB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.8424, allocations: 1.478 MB / 0.5239 GB, free: 8.789 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.8433, allocations: 0.9833 MB / 0.5249 GB, free: 7.781 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000348/0.8436, allocations: 60.53 kB / 0.5249 GB, free: 7.723 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.8442, allocations: 291.3 kB / 0.5252 GB, free: 7.438 MB / 442.7 MB Notification: Performance of SimCode: time 1.153e-06/0.8442, allocations: 0 / 0.5252 GB, free: 7.438 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.8861, allocations: 9.293 MB / 0.5343 GB, free: 14.26 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.8864, allocations: 171.6 kB / 0.5345 GB, free: 14.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.561, allocations: 4.062 kB / 0.5345 GB, free: 14.04 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat