Notification: Performance of loadModel(Modelica): time 1.005/1.005, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.759e-05, allocations: 4 kB / 145.9 MB, free: 4.039 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1402, allocations: 25.16 MB / 171.1 MB, free: 1.73 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0901/0.2303, allocations: 47.67 MB / 218.8 MB, free: 5.812 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.2307, allocations: 75.95 kB / 218.8 MB, free: 5.738 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.204/1.434, allocations: 223.1 MB / 441.9 MB, free: 2.711 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0005401/1.435, allocations: 152 kB / 442 MB, free: 2.562 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2674 * Number of variables: 2674 Notification: Performance of Generate backend data structure: time 0.1805/1.615, allocations: 10.38 MB / 452.4 MB, free: 15.8 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.616, allocations: 6.938 kB / 452.4 MB, free: 15.8 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3183/1.934, allocations: 32.66 MB / 485.1 MB, free: 14.86 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04346/1.977, allocations: 10.68 MB / 495.8 MB, free: 14 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007441/1.978, allocations: 246.7 kB / 496 MB, free: 14 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007262/1.985, allocations: 448.7 kB / 496.5 MB, free: 13.99 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04759/2.033, allocations: 19.59 MB / 0.504 GB, free: 2.719 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09024/2.123, allocations: 22.33 MB / 0.5258 GB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00066/2.124, allocations: 65.83 kB / 0.5258 GB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006299/2.13, allocations: 20 kB / 0.5258 GB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1209/2.251, allocations: 10.74 MB / 0.5363 GB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.255/3.507, allocations: 152.5 MB / 0.6853 GB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/3.526, allocations: 10.14 MB / 0.6952 GB, free: 22.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01385/3.54, allocations: 7.264 MB / 0.7023 GB, free: 21.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/3.541, allocations: 0.606 MB / 0.7029 GB, free: 21.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.703e-05/3.541, allocations: 90.78 kB / 0.7029 GB, free: 21.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=518): time 1.299e-05/3.541, allocations: 0 / 0.7029 GB, free: 21.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=782): time 0.5245/4.066, allocations: 91.95 MB / 0.7927 GB, free: 41.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/4.066, allocations: 493.7 kB / 0.7932 GB, free: 40.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/4.079, allocations: 4.943 MB / 0.798 GB, free: 39.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003337/4.083, allocations: 25.7 kB / 0.7981 GB, free: 39.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004576/4.087, allocations: 4.93 MB / 0.8029 GB, free: 35.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005601/4.093, allocations: 2.616 MB / 0.8054 GB, free: 33.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004112/4.097, allocations: 3.938 kB / 0.8054 GB, free: 33.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.001242/4.098, allocations: 0.8319 MB / 0.8062 GB, free: 32.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02334/4.122, allocations: 10.88 MB / 0.8169 GB, free: 28.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02923/4.151, allocations: 16.02 MB / 0.8325 GB, free: 17.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1738/4.325, allocations: 13.84 MB / 0.846 GB, free: 46.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002172/4.325, allocations: 49.06 kB / 0.8461 GB, free: 46.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=1612) (initialization): time 0.1708/4.496, allocations: 44.27 MB / 0.8893 GB, free: 42.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/4.496, allocations: 77.94 kB / 0.8894 GB, free: 42.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005472/4.497, allocations: 301.1 kB / 0.8897 GB, free: 42.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1182/4.615, allocations: 21.36 MB / 0.9105 GB, free: 37.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01541/4.63, allocations: 2.203 MB / 0.9127 GB, free: 35.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6721/5.303, allocations: 138 MB / 1.047 GB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03949/5.342, allocations: 2.411 MB / 1.05 GB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005201/5.347, allocations: 0.9172 MB / 1.051 GB, free: 37.77 MB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: b2.frame_b.R.T[3,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 51 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1117): * Single equations (assignments): 1093 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.008241/5.356, allocations: 0.5633 MB / 1.051 GB, free: 37.57 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1564/5.512, allocations: 38.54 MB / 1.089 GB, free: 37.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005281/5.518, allocations: 0.644 MB / 1.09 GB, free: 37.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1529/5.67, allocations: 37.99 MB / 1.127 GB, free: 24.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3102/5.981, allocations: 38.59 MB / 1.164 GB, free: 32.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000231/5.981, allocations: 71.67 kB / 1.164 GB, free: 32.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002574/5.981, allocations: 36.72 kB / 1.164 GB, free: 32.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3206/6.302, allocations: 73.16 MB / 1.236 GB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001099/6.302, allocations: 8 kB / 1.236 GB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005817/6.308, allocations: 0.5799 MB / 1.236 GB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2396/6.548, allocations: 20.29 MB / 1.256 GB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002856/6.55, allocations: 123.1 kB / 1.256 GB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4778/7.028, allocations: 123.9 MB / 1.377 GB, free: 49.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.085e-05/7.028, allocations: 12.88 kB / 1.377 GB, free: 49.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1827/7.211, allocations: 56.03 MB / 1.432 GB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01194/7.223, allocations: 3.053 MB / 1.435 GB, free: 32.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005428/7.229, allocations: 17.16 kB / 1.435 GB, free: 32.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03088/7.259, allocations: 2.103 MB / 1.437 GB, free: 31.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003144/7.263, allocations: 370.4 kB / 1.437 GB, free: 31.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002629/7.265, allocations: 423.1 kB / 1.438 GB, free: 30.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.008712/7.274, allocations: 3.363 MB / 1.441 GB, free: 27.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.82e-07/7.274, allocations: 0 / 1.441 GB, free: 27.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.02407/7.298, allocations: 3.554 MB / 1.445 GB, free: 24.37 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 280 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,38.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.3225/7.621, allocations: 59.35 MB / 1.503 GB, free: 48.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.1034/7.724, allocations: 31.47 MB / 1.533 GB, free: 40.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/7.724, allocations: 0 / 1.533 GB, free: 40.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.07703/7.801, allocations: 18.09 MB / 1.551 GB, free: 29.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008116/7.809, allocations: 0.6045 MB / 1.552 GB, free: 29.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2196/8.029, allocations: 27.97 MB / 1.579 GB, free: 45.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01623/8.045, allocations: 6.339 MB / 1.585 GB, free: 44.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.02129/8.067, allocations: 3.694 MB / 1.589 GB, free: 44.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01319/8.08, allocations: 4.268 MB / 1.593 GB, free: 44.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.724e-06/8.08, allocations: 0 / 1.593 GB, free: 44.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.23/9.31, allocations: 335 MB / 1.92 GB, free: 47.08 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004547/9.315, allocations: 150.6 kB / 1.92 GB, free: 46.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 14/23.32, allocations: 0 / 1.92 GB, free: 46.88 MB / 314.7 MB