Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.377e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4025, allocations: 61.88 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5662, allocations: 87.93 MB / 496.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5665, allocations: 67.95 kB / 496.9 MB, free: 2.648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02925/0.5958, allocations: 6.271 MB / 0.4914 GB, free: 12.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5959, allocations: 4 kB / 0.4914 GB, free: 12.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.5959, allocations: 4 kB / 0.4914 GB, free: 12.35 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00123/0.5971, allocations: 0.5571 MB / 0.4919 GB, free: 11.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.5972, allocations: 8.031 kB / 0.492 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.5973, allocations: 78.47 kB / 0.492 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.5975, allocations: 43.53 kB / 0.4921 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.5979, allocations: 263.3 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.5979, allocations: 28.78 kB / 0.4923 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.598, allocations: 39.91 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/0.5989, allocations: 369.8 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.599, allocations: 7.938 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.599, allocations: 19.98 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.5991, allocations: 12 kB / 0.4928 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.5996, allocations: 187.8 kB / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.6032, allocations: 1.703 MB / 0.4946 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.6039, allocations: 250.4 kB / 0.4949 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.6041, allocations: 86.03 kB / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.6042, allocations: 4 kB / 0.4949 GB, free: 8.395 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.6042, allocations: 46.5 kB / 0.495 GB, free: 8.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.577e-06/0.6042, allocations: 0 / 0.495 GB, free: 8.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006889/0.6049, allocations: 185.1 kB / 0.4952 GB, free: 8.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.6051, allocations: 213.6 kB / 0.4954 GB, free: 7.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.6055, allocations: 235.3 kB / 0.4956 GB, free: 7.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.6055, allocations: 33.7 kB / 0.4956 GB, free: 7.621 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.6057, allocations: 297.7 kB / 0.4959 GB, free: 7.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.6059, allocations: 118.5 kB / 0.496 GB, free: 7.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.6059, allocations: 8 kB / 0.496 GB, free: 7.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6061, allocations: 330.8 kB / 0.4963 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.6063, allocations: 85.56 kB / 0.4964 GB, free: 6.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.6069, allocations: 424.5 kB / 0.4968 GB, free: 6.207 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.6073, allocations: 147.8 kB / 0.497 GB, free: 6.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.6073, allocations: 4 kB / 0.497 GB, free: 6.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001172/0.6085, allocations: 473.4 kB / 0.4974 GB, free: 5.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.6086, allocations: 12 kB / 0.4974 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.6086, allocations: 12 kB / 0.4975 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-05/0.6087, allocations: 16 kB / 0.4975 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/0.6096, allocations: 152.4 kB / 0.4976 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.542e-05/0.6096, allocations: 23.94 kB / 0.4976 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.6102, allocations: 75.3 kB / 0.4977 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.6102, allocations: 32 kB / 0.4977 GB, free: 5.273 MB / 426.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.0001681/0.6104, allocations: 144.7 kB / 0.4979 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.6106, allocations: 35.7 kB / 0.4979 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.6108, allocations: 37.91 kB / 0.4979 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6108, allocations: 8 kB / 0.498 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.6108, allocations: 4 kB / 0.498 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6108, allocations: 7.984 kB / 0.498 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.6129, allocations: 0.6358 MB / 0.4986 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.6129, allocations: 0 / 0.4986 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009814/0.6139, allocations: 95.88 kB / 0.4987 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.614, allocations: 8.062 kB / 0.4987 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.614, allocations: 8 kB / 0.4987 GB, free: 4.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.614, allocations: 4 kB / 0.4987 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.6141, allocations: 4 kB / 0.4987 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.6151, allocations: 0.9003 MB / 0.4996 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.6152, allocations: 101 kB / 0.4997 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6154, allocations: 11.98 kB / 0.4997 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.6159, allocations: 12 kB / 0.4997 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.616, allocations: 23.92 kB / 0.4997 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.6161, allocations: 12 kB / 0.4997 GB, free: 3.059 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002707/0.6163, allocations: 187 kB / 0.4999 GB, free: 2.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6164, allocations: 0 / 0.4999 GB, free: 2.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0011/0.6175, allocations: 107.7 kB / 0.5 GB, free: 2.773 MB / 426.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.001588/0.6191, allocations: 1.983 MB / 0.502 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.6199, allocations: 247.2 kB / 0.5022 GB, free: 500 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6199, allocations: 0 / 0.5022 GB, free: 500 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.6201, allocations: 83.8 kB / 0.5023 GB, free: 416 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.6212, allocations: 66.81 kB / 0.5023 GB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.6255, allocations: 1.673 MB / 0.504 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.6261, allocations: 0.8033 MB / 0.5047 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.6264, allocations: 119.4 kB / 0.5049 GB, free: 13.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6264, allocations: 0 / 0.5049 GB, free: 13.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.399/3.026, allocations: 5.496 MB / 0.5102 GB, free: 8.168 MB / 442.7 MB