Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.193e-05, allocations: 0 / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 48.71 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.5951, allocations: 75.07 MB / 391.4 MB, free: 1.355 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/0.5955, allocations: 70.2 kB / 391.5 MB, free: 1.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03791/0.6335, allocations: 5.772 MB / 397.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.6335, allocations: 0 / 397.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.956e-05/0.6336, allocations: 8 kB / 397.2 MB, free: 12.58 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001775/0.6354, allocations: 0.5865 MB / 397.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.6355, allocations: 8.031 kB / 397.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.6357, allocations: 51.39 kB / 397.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.6363, allocations: 276.8 kB / 398.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.6364, allocations: 12 kB / 398.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6365, allocations: 27.38 kB / 398.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000866/0.6374, allocations: 189.5 kB / 398.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.6386, allocations: 307 kB / 398.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.6386, allocations: 3.984 kB / 398.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.6387, allocations: 4.984 kB / 398.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.6387, allocations: 11.95 kB / 398.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.642, allocations: 1.015 MB / 399.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.643, allocations: 311.2 kB / 400 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.6435, allocations: 140.8 kB / 400.2 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-05/0.6436, allocations: 7.938 kB / 400.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.6437, allocations: 41.88 kB / 400.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 5.831e-06/0.6437, allocations: 0 / 400.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.006919/0.6506, allocations: 2.125 MB / 402.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/0.6508, allocations: 122.7 kB / 402.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.6511, allocations: 162.1 kB / 402.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.6512, allocations: 29.7 kB / 402.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.6514, allocations: 190.2 kB / 402.8 MB, free: 7.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.6517, allocations: 186 kB / 403 MB, free: 7.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.6517, allocations: 4 kB / 403 MB, free: 7.137 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.652, allocations: 340.1 kB / 403.3 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.6524, allocations: 110 kB / 403.5 MB, free: 6.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.653, allocations: 197.2 kB / 403.6 MB, free: 6.566 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.6535, allocations: 132.3 kB / 403.8 MB, free: 6.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6536, allocations: 8 kB / 403.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001897/0.6555, allocations: 467.9 kB / 404.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.6556, allocations: 10.34 kB / 404.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.6556, allocations: 0 / 404.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008943/0.6565, allocations: 133.1 kB / 404.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.6576, allocations: 99.81 kB / 404.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00738/0.665, allocations: 4.469 MB / 408.9 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.6657, allocations: 11.95 kB / 409 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.6658, allocations: 22.81 kB / 409 MB, free: 1.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.666, allocations: 116.8 kB / 409.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001816/0.6679, allocations: 424.6 kB / 409.5 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.6681, allocations: 35.61 kB / 409.5 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.6683, allocations: 32.91 kB / 409.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.6683, allocations: 12 kB / 409.6 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/0.6684, allocations: 7.953 kB / 409.6 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.6684, allocations: 3.984 kB / 409.6 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/0.6726, allocations: 1.199 MB / 410.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6727, allocations: 0 / 410.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.6739, allocations: 94.55 kB / 410.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006807/0.6746, allocations: 93.02 kB / 411 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.6747, allocations: 11.25 kB / 411 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007336/0.682, allocations: 3.931 MB / 414.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-05/0.6821, allocations: 7.984 kB / 414.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.6848, allocations: 0.8868 MB / 415.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.6852, allocations: 130.8 kB / 415.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.6853, allocations: 4 kB / 416 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.686, allocations: 11.98 kB / 416 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.6863, allocations: 54.33 kB / 416 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.6863, allocations: 11.62 kB / 416 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002407/0.6866, allocations: 137.5 kB / 416.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.6866, allocations: 0 / 416.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001631/0.6883, allocations: 100 kB / 416.3 MB, free: 10.42 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003445/0.6918, allocations: 1.774 MB / 418 MB, free: 8.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.6943, allocations: 0.6652 MB / 418.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.6944, allocations: 3.375 kB / 418.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.6962, allocations: 0.5257 MB / 419.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6975, allocations: 38.36 kB / 419.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.702, allocations: 0.9722 MB / 420.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.7026, allocations: 0.8281 MB / 421.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.7029, allocations: 31.28 kB / 421.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.7031, allocations: 124.8 kB / 421.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7031, allocations: 0 / 421.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05321/0.7563, allocations: 6.57 MB / 427.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/0.7567, allocations: 139.8 kB / 427.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/3.856, allocations: 0 / 427.9 MB, free: 15.02 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat