Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.244e-05, allocations: 7.984 kB / 341.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2121, allocations: 44.52 MB / 385.6 MB, free: 79.69 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.3804, allocations: 83.52 MB / 469.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.3808, allocations: 87.89 kB / 469.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3745/0.7554, allocations: 60.24 MB / 0.517 GB, free: 89.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.311e-06/0.7554, allocations: 0 / 0.517 GB, free: 89.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.7556, allocations: 49.34 kB / 0.5171 GB, free: 89.52 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.013/0.7686, allocations: 3.107 MB / 0.5201 GB, free: 88.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.7687, allocations: 9.094 kB / 0.5201 GB, free: 88.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.7853, allocations: 1.998 MB / 0.5221 GB, free: 87.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.8005, allocations: 3.536 MB / 0.5255 GB, free: 87.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.8008, allocations: 117.9 kB / 0.5256 GB, free: 87.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.8021, allocations: 159 kB / 0.5258 GB, free: 87.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01262/0.8148, allocations: 4.531 MB / 0.5302 GB, free: 87.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.8304, allocations: 7.169 MB / 0.5372 GB, free: 83.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/0.8306, allocations: 57.41 kB / 0.5373 GB, free: 83.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004757/0.8311, allocations: 39.77 kB / 0.5373 GB, free: 83.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001119/0.8322, allocations: 0.7704 MB / 0.5381 GB, free: 83.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03789/0.8701, allocations: 39.98 MB / 0.5771 GB, free: 51.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.8732, allocations: 2.325 MB / 0.5794 GB, free: 48.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.875, allocations: 1.361 MB / 0.5807 GB, free: 47.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.8757, allocations: 0.6348 MB / 0.5813 GB, free: 46.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.8758, allocations: 43.12 kB / 0.5814 GB, free: 46.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 5.305e-06/0.8758, allocations: 0 / 0.5814 GB, free: 46.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=152): time 0.04575/0.9215, allocations: 16.01 MB / 0.597 GB, free: 31.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.9216, allocations: 149.2 kB / 0.5972 GB, free: 31.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/0.9255, allocations: 2.453 MB / 0.5995 GB, free: 29.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003196/0.9258, allocations: 29.7 kB / 0.5996 GB, free: 29.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.9272, allocations: 2.372 MB / 0.6019 GB, free: 26.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006319/0.9278, allocations: 0.5823 MB / 0.6025 GB, free: 26.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.9282, allocations: 0 / 0.6025 GB, free: 26.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003706/0.9285, allocations: 0.5847 MB / 0.603 GB, free: 25.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003553/0.9321, allocations: 2.279 MB / 0.6053 GB, free: 23.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00513/0.9372, allocations: 5.547 MB / 0.6107 GB, free: 16.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/0.943, allocations: 3.503 MB / 0.6141 GB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.447e-05/0.9431, allocations: 35.94 kB / 0.6141 GB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.02934/0.9725, allocations: 10.79 MB / 0.6247 GB, free: 1.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.498e-05/0.9726, allocations: 56 kB / 0.6247 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.9727, allocations: 120.1 kB / 0.6248 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01742/0.9901, allocations: 4.121 MB / 0.6289 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005016/0.9952, allocations: 1.205 MB / 0.63 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02799/1.023, allocations: 12.69 MB / 0.6424 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005799/1.029, allocations: 263.3 kB / 0.6427 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.03, allocations: 347.6 kB / 0.643 GB, free: 14.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 628 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001027/1.031, allocations: 387.7 kB / 0.6434 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006794/1.032, allocations: 248.7 kB / 0.6436 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02311/1.055, allocations: 6.742 MB / 0.6502 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.688e-05/1.055, allocations: 19.98 kB / 0.6502 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.055, allocations: 12 kB / 0.6502 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/1.055, allocations: 3.984 kB / 0.6502 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1825/1.238, allocations: 13.92 MB / 0.6638 GB, free: 106.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.238, allocations: 0 / 0.6638 GB, free: 106.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.239, allocations: 228.4 kB / 0.664 GB, free: 106.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01813/1.257, allocations: 4.666 MB / 0.6686 GB, free: 106.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/1.258, allocations: 25.33 kB / 0.6686 GB, free: 106.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/1.283, allocations: 12.69 MB / 0.681 GB, free: 104.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.639e-06/1.283, allocations: 0 / 0.681 GB, free: 104.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6556/1.939, allocations: 160.3 MB / 0.8375 GB, free: 110.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005882/1.939, allocations: 312 kB / 0.8378 GB, free: 110.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005332/1.94, allocations: 13.97 kB / 0.8378 GB, free: 110.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.942, allocations: 176.5 kB / 0.838 GB, free: 110.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004873/1.942, allocations: 108.9 kB / 0.8381 GB, free: 110 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.943, allocations: 53.16 kB / 0.8382 GB, free: 110 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002687/1.945, allocations: 1.612 MB / 0.8397 GB, free: 109.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.42e-07/1.945, allocations: 3.328 kB / 0.8397 GB, free: 109.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0072/1.953, allocations: 1.206 MB / 0.8409 GB, free: 109.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005561/1.953, allocations: 146.7 kB / 0.8411 GB, free: 109.3 MB / 414.1 MB [/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01274/1.966, allocations: 6.586 MB / 0.8475 GB, free: 106.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.234e-06/1.966, allocations: 3.938 kB / 0.8475 GB, free: 106.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006822/1.973, allocations: 3.147 MB / 0.8506 GB, free: 105.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/1.974, allocations: 233.6 kB / 0.8508 GB, free: 105.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/1.999, allocations: 9.573 MB / 0.8601 GB, free: 98.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/2.003, allocations: 2.608 MB / 0.8627 GB, free: 96.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005108/2.008, allocations: 1.675 MB / 0.8643 GB, free: 95.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008772/2.009, allocations: 197.7 kB / 0.8645 GB, free: 95.47 MB / 414.1 MB Notification: Performance of SimCode: time 1.435e-06/2.009, allocations: 4 kB / 0.8645 GB, free: 95.47 MB / 414.1 MB Notification: Performance of Templates: time 0.127/2.136, allocations: 68.07 MB / 0.931 GB, free: 29.77 MB / 414.1 MB