Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.149e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08773, allocations: 48.69 MB / 321.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4307, allocations: 73.3 MB / 395.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.431, allocations: 70 kB / 395.1 MB, free: 7.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006716/0.4377, allocations: 1.95 MB / 397.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.208e-06/0.4378, allocations: 0 / 397.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.4378, allocations: 0 / 397.1 MB, free: 6.676 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003261/0.4381, allocations: 372.3 kB / 397.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4382, allocations: 7.688 kB / 397.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.4382, allocations: 15.62 kB / 397.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.4383, allocations: 180.7 kB / 397.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4384, allocations: 15.09 kB / 397.6 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.4384, allocations: 11.56 kB / 397.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.4386, allocations: 127.8 kB / 397.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4387, allocations: 3.688 kB / 397.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4387, allocations: 6.438 kB / 397.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.4387, allocations: 3.812 kB / 397.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.4388, allocations: 51.3 kB / 397.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.4396, allocations: 0.5462 MB / 398.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.4398, allocations: 87.78 kB / 398.5 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.4398, allocations: 28.78 kB / 398.5 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-06/0.4398, allocations: 0 / 398.5 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.4399, allocations: 37.27 kB / 398.5 MB, free: 5.508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.005e-06/0.4399, allocations: 0 / 398.5 MB, free: 5.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003417/0.4402, allocations: 103.9 kB / 398.6 MB, free: 5.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.4403, allocations: 77.11 kB / 398.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.4404, allocations: 118.9 kB / 398.8 MB, free: 5.262 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.4404, allocations: 28.83 kB / 398.9 MB, free: 5.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.4405, allocations: 180.6 kB / 399 MB, free: 5.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.4405, allocations: 39.97 kB / 399.1 MB, free: 5.043 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-06/0.4405, allocations: 3.938 kB / 399.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.4406, allocations: 325 kB / 399.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.4406, allocations: 25 kB / 399.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.4407, allocations: 80.53 kB / 399.5 MB, free: 4.641 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.033e-05/0.4408, allocations: 40.06 kB / 399.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-06/0.4408, allocations: 3.688 kB / 399.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003334/0.4412, allocations: 154.4 kB / 399.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4412, allocations: 3.812 kB / 399.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.813e-06/0.4412, allocations: 3.812 kB / 399.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.4414, allocations: 46.03 kB / 399.7 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.4415, allocations: 22.27 kB / 399.8 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.4438, allocations: 2.534 MB / 402.3 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/0.4439, allocations: 7.781 kB / 402.3 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.444, allocations: 11.41 kB / 402.3 MB, free: 18 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.4441, allocations: 112.8 kB / 402.4 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.4442, allocations: 15.44 kB / 402.4 MB, free: 17.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.4442, allocations: 11.8 kB / 402.5 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-06/0.4442, allocations: 0 / 402.5 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.558e-06/0.4442, allocations: 3.844 kB / 402.5 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.124e-06/0.4443, allocations: 3.703 kB / 402.5 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.4446, allocations: 196.1 kB / 402.7 MB, free: 17.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.445e-06/0.4446, allocations: 0 / 402.7 MB, free: 17.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.4447, allocations: 14.84 kB / 402.7 MB, free: 17.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.4449, allocations: 32.81 kB / 402.7 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.4449, allocations: 3.562 kB / 402.7 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.4472, allocations: 2.538 MB / 405.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.394e-06/0.4472, allocations: 0 / 405.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.4476, allocations: 321.1 kB / 405.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.4477, allocations: 84.86 kB / 405.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.4478, allocations: 0 / 405.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.4479, allocations: 0 / 405.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.4479, allocations: 11.16 kB / 405.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-06/0.448, allocations: 7.969 kB / 405.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.444e-05/0.4481, allocations: 93.88 kB / 405.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.426e-06/0.4481, allocations: 0 / 405.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004812/0.4486, allocations: 41.66 kB / 405.8 MB, free: 14.69 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.4487, allocations: 105.5 kB / 405.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.4492, allocations: 279 kB / 406.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4492, allocations: 0 / 406.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.4495, allocations: 247.2 kB / 406.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4499, allocations: 22.53 kB / 406.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.4506, allocations: 420.2 kB / 406.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.451, allocations: 0.7171 MB / 407.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.451, allocations: 11.12 kB / 407.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.701e-06/0.451, allocations: 3.938 kB / 407.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Templates: time 0.004267/0.4553, allocations: 2.355 MB / 409.9 MB, free: 12.36 MB / 330.7 MB