Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.658/2.658, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.045e-05, allocations: 0 / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5481, allocations: 54.85 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.7021, allocations: 81.12 MB / 435.5 MB, free: 1.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.7025, allocations: 71.95 kB / 435.5 MB, free: 1.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02595/0.7284, allocations: 5.736 MB / 441.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7285, allocations: 4 kB / 441.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.7285, allocations: 8 kB / 441.3 MB, free: 11.3 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.001188/0.7297, allocations: 0.5571 MB / 441.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.7298, allocations: 8.031 kB / 441.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.7299, allocations: 39.53 kB / 441.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.7304, allocations: 259.4 kB / 442.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.7304, allocations: 12 kB / 442.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/0.7305, allocations: 31.91 kB / 442.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005315/0.731, allocations: 161.5 kB / 442.3 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.7318, allocations: 321.8 kB / 442.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.7319, allocations: 11.94 kB / 442.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.732, allocations: 0 / 442.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.732, allocations: 8 kB / 442.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.7356, allocations: 1.655 MB / 444.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.7362, allocations: 230.7 kB / 444.5 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.7364, allocations: 82.12 kB / 444.6 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.7365, allocations: 4 kB / 444.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.7365, allocations: 50.48 kB / 444.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.566e-06/0.7365, allocations: 0 / 444.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006641/0.7372, allocations: 165.2 kB / 444.8 MB, free: 7.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.7373, allocations: 213.6 kB / 445 MB, free: 7.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.7377, allocations: 206.2 kB / 445.2 MB, free: 6.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.7377, allocations: 25.7 kB / 445.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.7379, allocations: 251.5 kB / 445.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.7381, allocations: 110.4 kB / 445.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.7381, allocations: 0 / 445.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7383, allocations: 346.8 kB / 446 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.7385, allocations: 73.56 kB / 446 MB, free: 6.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.739, allocations: 400.5 kB / 446.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.7394, allocations: 143.8 kB / 446.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.7394, allocations: 0 / 446.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001141/0.7406, allocations: 428.8 kB / 447 MB, free: 5.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.7406, allocations: 13 kB / 447 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.7407, allocations: 15.94 kB / 447 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.293e-05/0.7407, allocations: 20.12 kB / 447 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.7416, allocations: 151.8 kB / 447.2 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.648e-05/0.7417, allocations: 27.86 kB / 447.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.7422, allocations: 47.44 kB / 447.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.7423, allocations: 35.98 kB / 447.3 MB, free: 4.707 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.000172/0.7425, allocations: 132.7 kB / 447.4 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005757/0.7431, allocations: 177.4 kB / 447.6 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.7433, allocations: 31.72 kB / 447.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.7434, allocations: 33.86 kB / 447.7 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.7434, allocations: 4 kB / 447.7 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.7434, allocations: 4 kB / 447.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.7434, allocations: 3.984 kB / 447.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.7453, allocations: 0.5936 MB / 448.3 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7454, allocations: 0 / 448.3 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/0.7463, allocations: 95.88 kB / 448.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.7464, allocations: 4 kB / 448.4 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.7464, allocations: 4 kB / 448.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/0.7464, allocations: 4 kB / 448.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.7464, allocations: 0 / 448.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/0.7474, allocations: 0.8826 MB / 449.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.7475, allocations: 100.9 kB / 449.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.7476, allocations: 8 kB / 449.4 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.7482, allocations: 15.98 kB / 449.4 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.7483, allocations: 23.92 kB / 449.4 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.7484, allocations: 12 kB / 449.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.7486, allocations: 154 kB / 449.6 MB, free: 2.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7486, allocations: 0 / 449.6 MB, free: 2.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001169/0.7498, allocations: 91.75 kB / 449.6 MB, free: 2.191 MB / 378.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.001498/0.7513, allocations: 1.981 MB / 451.6 MB, free: 148 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.7521, allocations: 229.5 kB / 451.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7521, allocations: 3.938 kB / 451.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.7523, allocations: 72.8 kB / 451.9 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.7534, allocations: 52.83 kB / 452 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.7578, allocations: 1.605 MB / 453.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.7583, allocations: 0.8069 MB / 454.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.7587, allocations: 43.25 kB / 454.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.7589, allocations: 115.4 kB / 454.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7589, allocations: 0 / 454.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/0.8064, allocations: 5.403 MB / 459.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003674/0.8069, allocations: 153 kB / 460.1 MB, free: 7.555 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.444, allocations: 0 / 460.1 MB, free: 7.555 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat