Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.682/2.682, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.551e-05/4.563e-05, allocations: 3.984 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1699, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.523/0.6929, allocations: 85.71 MB / 496.1 MB, free: 2.219 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.6932, allocations: 67.97 kB / 496.1 MB, free: 2.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.7045, allocations: 2.075 MB / 498.2 MB, free: 88 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7046, allocations: 0 / 498.2 MB, free: 88 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.7046, allocations: 4 kB / 498.2 MB, free: 84 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007198/0.7053, allocations: 378.5 kB / 498.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.7054, allocations: 8.031 kB / 498.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.954e-05/0.7055, allocations: 46.55 kB / 498.6 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.7056, allocations: 11.91 kB / 498.7 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.7058, allocations: 178.8 kB / 498.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.7059, allocations: 8.234 kB / 498.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.706, allocations: 15.95 kB / 498.9 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.7064, allocations: 127.5 kB / 499 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.7064, allocations: 4 kB / 499 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.7064, allocations: 4 kB / 499 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.7065, allocations: 4 kB / 499 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.7067, allocations: 55.98 kB / 499 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.7082, allocations: 0.541 MB / 499.6 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.7085, allocations: 81.17 kB / 499.7 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.7086, allocations: 37.66 kB / 499.7 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.7087, allocations: 4 kB / 499.7 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.7087, allocations: 34.5 kB / 499.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 3.888e-06/0.7087, allocations: 0 / 499.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005972/0.7094, allocations: 99.48 kB / 499.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.7094, allocations: 85.09 kB / 499.9 MB, free: 14.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.7096, allocations: 116.2 kB / 0.4883 GB, free: 14.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.7097, allocations: 29.7 kB / 0.4883 GB, free: 14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.7098, allocations: 135.5 kB / 0.4885 GB, free: 13.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.7099, allocations: 27.56 kB / 0.4885 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.7099, allocations: 4 kB / 0.4885 GB, free: 13.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.7101, allocations: 326.8 kB / 0.4888 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.7102, allocations: 20 kB / 0.4888 GB, free: 13.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.7104, allocations: 89.28 kB / 0.4889 GB, free: 13.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.7106, allocations: 31.92 kB / 0.4889 GB, free: 13.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.7106, allocations: 4 kB / 0.489 GB, free: 13.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006075/0.7112, allocations: 155.1 kB / 0.4891 GB, free: 13.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.7113, allocations: 4 kB / 0.4891 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.7113, allocations: 4 kB / 0.4891 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.7116, allocations: 37.95 kB / 0.4891 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.7119, allocations: 31.92 kB / 0.4892 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.7153, allocations: 2.529 MB / 0.4916 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.7156, allocations: 8 kB / 0.4917 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.7156, allocations: 8.219 kB / 0.4917 GB, free: 10.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.7158, allocations: 119.4 kB / 0.4918 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.7159, allocations: 7.906 kB / 0.4918 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.716, allocations: 16.02 kB / 0.4918 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.716, allocations: 3.953 kB / 0.4918 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.716, allocations: 4 kB / 0.4918 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.7161, allocations: 0 / 0.4918 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.7166, allocations: 201.5 kB / 0.492 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7167, allocations: 7.984 kB / 0.492 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.7169, allocations: 12 kB / 0.492 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.7172, allocations: 33.7 kB / 0.492 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.7172, allocations: 4 kB / 0.4921 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.7205, allocations: 2.537 MB / 0.4945 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7206, allocations: 0 / 0.4945 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.7212, allocations: 314 kB / 0.4948 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.7213, allocations: 85.11 kB / 0.4949 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.7213, allocations: 8 kB / 0.4949 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.7216, allocations: 0 / 0.4949 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.7217, allocations: 8.031 kB / 0.4949 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.7217, allocations: 8 kB / 0.4949 GB, free: 6.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.52e-05/0.7218, allocations: 91.27 kB / 0.495 GB, free: 6.449 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.7218, allocations: 0 / 0.495 GB, free: 6.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008407/0.7227, allocations: 44.19 kB / 0.4951 GB, free: 6.406 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/0.7238, allocations: 0.9164 MB / 0.496 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.7246, allocations: 279.8 kB / 0.4962 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7246, allocations: 0 / 0.4962 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.7251, allocations: 239.6 kB / 0.4965 GB, free: 4.906 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.7257, allocations: 27.92 kB / 0.4965 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.7274, allocations: 446.9 kB / 0.4969 GB, free: 4.406 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.7279, allocations: 0.7161 MB / 0.4976 GB, free: 3.664 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.41e-05/0.728, allocations: 12.88 kB / 0.4976 GB, free: 3.648 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.7281, allocations: 31.42 kB / 0.4976 GB, free: 3.617 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7281, allocations: 0 / 0.4976 GB, free: 3.617 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.7571, allocations: 2.598 MB / 0.5002 GB, free: 1.105 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/0.7575, allocations: 169.8 kB / 0.5003 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.224, allocations: 0 / 0.5003 GB, free: 0.8867 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat