Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.04e-05, allocations: 0 / 347 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.376, allocations: 61.88 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.5296, allocations: 87.95 MB / 496.9 MB, free: 2.566 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.5299, allocations: 63.97 kB / 496.9 MB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02705/0.5569, allocations: 6.434 MB / 0.4916 GB, free: 12.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.557, allocations: 3.938 kB / 0.4916 GB, free: 12.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.557, allocations: 11.94 kB / 0.4916 GB, free: 12.01 MB / 426.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.001198/0.5582, allocations: 0.5766 MB / 0.4921 GB, free: 11.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5583, allocations: 8.031 kB / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.5584, allocations: 78.52 kB / 0.4922 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.5585, allocations: 47.47 kB / 0.4923 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.559, allocations: 275.2 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.559, allocations: 32.77 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5591, allocations: 43.91 kB / 0.4926 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/0.56, allocations: 348.7 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.56, allocations: 4 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.5601, allocations: 16 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.5601, allocations: 11.98 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.5607, allocations: 211.9 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.563, allocations: 1.093 MB / 0.4942 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.5637, allocations: 327.6 kB / 0.4946 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.5641, allocations: 163.2 kB / 0.4947 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.5642, allocations: 12 kB / 0.4947 GB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5642, allocations: 38.56 kB / 0.4948 GB, free: 8.535 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 3.526e-06/0.5642, allocations: 0 / 0.4948 GB, free: 8.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.004847/0.5691, allocations: 2.256 MB / 0.497 GB, free: 6.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.5692, allocations: 114.8 kB / 0.4971 GB, free: 5.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.5695, allocations: 211 kB / 0.4973 GB, free: 5.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.5696, allocations: 37.64 kB / 0.4973 GB, free: 5.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.5697, allocations: 235.1 kB / 0.4975 GB, free: 5.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.5699, allocations: 197.1 kB / 0.4977 GB, free: 5.188 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.57, allocations: 8 kB / 0.4977 GB, free: 5.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5701, allocations: 330.8 kB / 0.498 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.5704, allocations: 113.1 kB / 0.4982 GB, free: 4.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.5708, allocations: 206.8 kB / 0.4983 GB, free: 4.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.5712, allocations: 159.8 kB / 0.4985 GB, free: 4.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.5713, allocations: 7.953 kB / 0.4985 GB, free: 4.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001386/0.5726, allocations: 499.4 kB / 0.499 GB, free: 3.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.5727, allocations: 4 kB / 0.499 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5727, allocations: 7.938 kB / 0.499 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/0.5733, allocations: 126.6 kB / 0.4991 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.574, allocations: 103.8 kB / 0.4992 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.5791, allocations: 4.661 MB / 0.5038 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.5796, allocations: 20 kB / 0.5038 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.5796, allocations: 23.98 kB / 0.5038 GB, free: 14.48 MB / 442.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.0001679/0.5798, allocations: 137.2 kB / 0.5039 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.58, allocations: 39.53 kB / 0.504 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.5801, allocations: 45.95 kB / 0.504 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5801, allocations: 8 kB / 0.504 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.5802, allocations: 7.953 kB / 0.504 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5802, allocations: 3.984 kB / 0.504 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.583, allocations: 1.282 MB / 0.5053 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.583, allocations: 4 kB / 0.5053 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008336/0.5839, allocations: 95.88 kB / 0.5054 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/0.5844, allocations: 102.5 kB / 0.5055 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.5844, allocations: 12 kB / 0.5055 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/0.5884, allocations: 4.096 MB / 0.5095 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5885, allocations: 3.938 kB / 0.5095 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.5903, allocations: 0.9435 MB / 0.5104 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.5904, allocations: 112.7 kB / 0.5105 GB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.5905, allocations: 19.89 kB / 0.5106 GB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.5909, allocations: 19.98 kB / 0.5106 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.5911, allocations: 39.95 kB / 0.5106 GB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.5911, allocations: 23.98 kB / 0.5106 GB, free: 6.926 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.5914, allocations: 167.1 kB / 0.5108 GB, free: 6.758 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5914, allocations: 0 / 0.5108 GB, free: 6.758 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009932/0.5924, allocations: 120 kB / 0.5109 GB, free: 6.641 MB / 442.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.002204/0.5946, allocations: 1.834 MB / 0.5127 GB, free: 4.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.5962, allocations: 0.7 MB / 0.5134 GB, free: 4.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.5962, allocations: 4 kB / 0.5134 GB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.5973, allocations: 0.5418 MB / 0.5139 GB, free: 3.445 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.598, allocations: 48.72 kB / 0.514 GB, free: 3.398 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.6008, allocations: 1.044 MB / 0.515 GB, free: 2.293 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.6013, allocations: 0.8245 MB / 0.5158 GB, free: 1.438 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.6016, allocations: 139.4 kB / 0.5159 GB, free: 1.305 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6016, allocations: 0 / 0.5159 GB, free: 1.305 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.594/3.195, allocations: 10.51 MB / 0.5262 GB, free: 6.785 MB / 458.7 MB