Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.762/2.762, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.448e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3897, allocations: 54.86 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.5656, allocations: 81.12 MB / 435.6 MB, free: 14.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.5659, allocations: 71.95 kB / 435.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03049/0.5964, allocations: 5.728 MB / 441.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5965, allocations: 0 / 441.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.5965, allocations: 4 kB / 441.4 MB, free: 8.219 MB / 378.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.001415/0.598, allocations: 0.561 MB / 441.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.598, allocations: 8.031 kB / 441.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.5982, allocations: 43.53 kB / 442 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.5987, allocations: 251.3 kB / 442.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.5987, allocations: 12 kB / 442.2 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.5988, allocations: 35.89 kB / 442.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006194/0.5994, allocations: 161.5 kB / 442.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.6003, allocations: 317.8 kB / 442.7 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.6004, allocations: 7.938 kB / 442.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.6005, allocations: 3.984 kB / 442.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.6005, allocations: 12 kB / 442.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.6043, allocations: 1.657 MB / 444.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.605, allocations: 230.7 kB / 444.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.6052, allocations: 82.12 kB / 444.7 MB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.6053, allocations: 12.06 kB / 444.7 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.6053, allocations: 42.5 kB / 444.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 4.218e-06/0.6053, allocations: 0 / 444.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007401/0.6061, allocations: 169.2 kB / 444.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.6062, allocations: 217.7 kB / 445.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.6066, allocations: 206.3 kB / 445.4 MB, free: 3.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.6067, allocations: 25.7 kB / 445.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.6069, allocations: 243.4 kB / 445.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.6071, allocations: 118.4 kB / 445.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.6071, allocations: 0 / 445.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.6073, allocations: 338.8 kB / 446.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.6076, allocations: 73.56 kB / 446.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.6082, allocations: 404.5 kB / 446.5 MB, free: 2.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.6087, allocations: 139.8 kB / 446.7 MB, free: 2.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.6087, allocations: 4 kB / 446.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001325/0.61, allocations: 433.7 kB / 447.1 MB, free: 1.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.6101, allocations: 8.625 kB / 447.1 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.6101, allocations: 12 kB / 447.1 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.724e-05/0.6102, allocations: 16 kB / 447.1 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.6113, allocations: 151.7 kB / 447.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.11e-05/0.6113, allocations: 19.94 kB / 447.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.6119, allocations: 63.67 kB / 447.4 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.612, allocations: 35.98 kB / 447.4 MB, free: 1.621 MB / 378.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.0001763/0.6122, allocations: 128.7 kB / 447.5 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006806/0.6129, allocations: 181 kB / 447.7 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.6131, allocations: 31.7 kB / 447.7 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.6132, allocations: 29.83 kB / 447.8 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.6133, allocations: 4 kB / 447.8 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6133, allocations: 8.031 kB / 447.8 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6133, allocations: 4 kB / 447.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.6157, allocations: 0.5855 MB / 448.4 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.6158, allocations: 4 kB / 448.4 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.6169, allocations: 83.89 kB / 448.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.976e-05/0.6169, allocations: 8.062 kB / 448.4 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.617, allocations: 12.36 kB / 448.5 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.617, allocations: 4 kB / 448.5 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.617, allocations: 7.938 kB / 448.5 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6181, allocations: 0.8745 MB / 449.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.6183, allocations: 108.9 kB / 449.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.6184, allocations: 7.984 kB / 449.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009077/0.6193, allocations: 4 kB / 449.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.6194, allocations: 27.92 kB / 449.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.6195, allocations: 8 kB / 449.5 MB, free: 15.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002345/0.6197, allocations: 158 kB / 449.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6197, allocations: 0 / 449.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001272/0.621, allocations: 91.73 kB / 449.7 MB, free: 15.11 MB / 394.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.001515/0.6225, allocations: 1.986 MB / 451.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007231/0.6233, allocations: 229.4 kB / 452 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6233, allocations: 0 / 452 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.6235, allocations: 75.86 kB / 452 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6247, allocations: 50.55 kB / 452.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.6293, allocations: 1.604 MB / 453.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.6299, allocations: 0.8069 MB / 454.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.6302, allocations: 43.27 kB / 454.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.6305, allocations: 115.4 kB / 454.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/0.6305, allocations: 0 / 454.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/0.6893, allocations: 5.407 MB / 460.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002419/0.6896, allocations: 145.5 kB / 460.2 MB, free: 4.484 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.997/3.687, allocations: 0 / 460.2 MB, free: 4.484 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat