Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 209.4 MB / 216.5 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.355e-05, allocations: 0 / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/0.5517, allocations: 74.99 MB / 391.3 MB, free: 1.402 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/0.5522, allocations: 69.52 kB / 391.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04074/0.5929, allocations: 5.739 MB / 397.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.165e-06/0.593, allocations: 1.859 kB / 397.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.033e-05/0.5931, allocations: 8 kB / 397.1 MB, free: 12.71 MB / 330.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.001884/0.595, allocations: 0.5568 MB / 397.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.5951, allocations: 12.03 kB / 397.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.5953, allocations: 43.48 kB / 397.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.5959, allocations: 267.3 kB / 398 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.596, allocations: 12 kB / 398 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.5962, allocations: 31.91 kB / 398 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007988/0.597, allocations: 162.6 kB / 398.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5982, allocations: 313.6 kB / 398.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.512e-05/0.5983, allocations: 10.91 kB / 398.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.5984, allocations: 11.94 kB / 398.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.5984, allocations: 8 kB / 398.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.6032, allocations: 1.648 MB / 400.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.604, allocations: 234.9 kB / 400.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.6043, allocations: 84.31 kB / 400.5 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.6044, allocations: 3.984 kB / 400.5 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.6045, allocations: 42.44 kB / 400.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 5.941e-06/0.6045, allocations: 4 kB / 400.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001213/0.6057, allocations: 173.6 kB / 400.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003109/0.6061, allocations: 209.6 kB / 400.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.6066, allocations: 218.1 kB / 401.1 MB, free: 8.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.6068, allocations: 25.7 kB / 401.2 MB, free: 8.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005799/0.6074, allocations: 241.6 kB / 401.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.6077, allocations: 120.5 kB / 401.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.6077, allocations: 4 kB / 401.5 MB, free: 8.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.608, allocations: 337.8 kB / 401.8 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.6082, allocations: 73.88 kB / 401.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.6087, allocations: 398.3 kB / 402.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.6091, allocations: 138.3 kB / 402.4 MB, free: 7.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.6091, allocations: 4 kB / 402.4 MB, free: 7.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001113/0.6102, allocations: 430.7 kB / 402.9 MB, free: 7.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.6103, allocations: 10.34 kB / 402.9 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.6103, allocations: 12 kB / 402.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.567e-05/0.6104, allocations: 20.77 kB / 402.9 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/0.6113, allocations: 162.1 kB / 403.1 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.6113, allocations: 19.94 kB / 403.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.6118, allocations: 59.36 kB / 403.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.6119, allocations: 31.44 kB / 403.2 MB, free: 6.809 MB / 330.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.0001622/0.6121, allocations: 128.3 kB / 403.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005581/0.6127, allocations: 178.9 kB / 403.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.6129, allocations: 35.72 kB / 403.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.613, allocations: 35.75 kB / 403.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.613, allocations: 4 kB / 403.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.613, allocations: 7.984 kB / 403.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.613, allocations: 0 / 403.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.615, allocations: 0.5786 MB / 404.1 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6151, allocations: 4.062 kB / 404.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.616, allocations: 94.41 kB / 404.2 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.616, allocations: 4 kB / 404.2 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.6161, allocations: 7.438 kB / 404.2 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.6161, allocations: 7.984 kB / 404.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.6161, allocations: 3.938 kB / 404.3 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.617, allocations: 0.8745 MB / 405.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.6172, allocations: 119.7 kB / 405.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.6173, allocations: 4 kB / 405.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.6179, allocations: 4 kB / 405.3 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.618, allocations: 35.3 kB / 405.3 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.618, allocations: 11.98 kB / 405.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.6182, allocations: 166.5 kB / 405.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6183, allocations: 0 / 405.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001183/0.6194, allocations: 91.69 kB / 405.6 MB, free: 4.461 MB / 330.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.001394/0.6209, allocations: 1.96 MB / 407.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006777/0.6216, allocations: 229.6 kB / 407.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.6216, allocations: 4 kB / 407.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.6218, allocations: 70.36 kB / 407.8 MB, free: 2.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6228, allocations: 55.25 kB / 407.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.627, allocations: 1.621 MB / 409.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.6276, allocations: 0.803 MB / 410.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003318/0.628, allocations: 47.25 kB / 410.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.6282, allocations: 118.8 kB / 410.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6282, allocations: 0 / 410.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/0.6774, allocations: 5.396 MB / 415.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.6777, allocations: 145 kB / 416 MB, free: 10.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/3.611, allocations: 0 / 416 MB, free: 10.08 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat